updates
This commit is contained in:
1 parent
c73056b41a
commit
ccab419faf
3 files changed
+49
-6
No files matched your search
@@ -1,17 +1,17 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
name='glib'
|
name='glib'
|
||||||
release='1'
|
release='2'
|
||||||
version='2.75.0'
|
version='2.76.3'
|
||||||
url='https://download.gnome.org/sources/glib/'
|
url='https://download.gnome.org/sources/glib/'
|
||||||
description='Low-level core library that forms the basis for projects such as GTK+ and GNOME.'
|
description='Low-level core library that forms the basis for projects such as GTK+ and GNOME.'
|
||||||
email='parduscix@yandex.ru'
|
email='parduscix@yandex.ru'
|
||||||
maintainer='sulincix'
|
maintainer='sulincix'
|
||||||
license=('GPLv3')
|
license=('GPLv3')
|
||||||
source=("https://download.gnome.org/sources/glib/2.75/glib-${version}.tar.xz"
|
source=("https://download.gnome.org/sources/glib/2.76/glib-${version}.tar.xz"
|
||||||
"glib.sysconf")
|
"glib.sysconf")
|
||||||
depends=(libffi util-linux libpcre2 zlib)
|
depends=(libffi util-linux libpcre2 zlib)
|
||||||
makedepends=( )
|
makedepends=( )
|
||||||
md5sums=('6ac05ed98272c0a1927fbf1e32ebab8c'
|
md5sums=('9e8f5c00f0cdf71c7e47e554bfbf9dcb'
|
||||||
'SKIP')
|
'SKIP')
|
||||||
uses=()
|
uses=()
|
||||||
arch=('x86_64')
|
arch=('x86_64')
|
||||||
|
|||||||
@@ -0,0 +1,36 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
name='py3-flit'
|
||||||
|
release='2'
|
||||||
|
version='3.9.0'
|
||||||
|
url='https://github.com/pypa/flit'
|
||||||
|
description='Simplified packaging of Python modules'
|
||||||
|
email='aliriza.keskin@pardus.org.tr'
|
||||||
|
maintainer='aliriza'
|
||||||
|
license=('GPLv3')
|
||||||
|
source=("https://github.com/pypa/flit/archive/refs/tags/$version.tar.gz")
|
||||||
|
depends=(python)
|
||||||
|
makedepends=()
|
||||||
|
md5sums=('f5d670fd1e89950c14e55b7cdc75dcbc')
|
||||||
|
group=(dev.python)
|
||||||
|
uses=()
|
||||||
|
arch=('x86_64')
|
||||||
|
|
||||||
|
cd flit-$version
|
||||||
|
|
||||||
|
build(){
|
||||||
|
cur=$PWD
|
||||||
|
for dir in . flit_core; do
|
||||||
|
cd $dir
|
||||||
|
python -m build --wheel --skip-dependency-check --no-isolation
|
||||||
|
cd $cur
|
||||||
|
done
|
||||||
|
}
|
||||||
|
|
||||||
|
package(){
|
||||||
|
cur=$PWD
|
||||||
|
for dir in . flit_core; do
|
||||||
|
cd $dir
|
||||||
|
python -m installer --destdir="$DESTDIR" dist/*.whl
|
||||||
|
cd $cur
|
||||||
|
done
|
||||||
|
}
|
||||||
@@ -9,7 +9,7 @@ maintainer='sulincix'
|
|||||||
license=('GPLv3')
|
license=('GPLv3')
|
||||||
source=("https://github.com/pypa/wheel/archive/refs/tags/${version}.tar.gz")
|
source=("https://github.com/pypa/wheel/archive/refs/tags/${version}.tar.gz")
|
||||||
depends=(python)
|
depends=(python)
|
||||||
makedepends=()
|
makedepends=(py3-installer py3-flit)
|
||||||
md5sums=('508c46d10686536a647a13937d53259f')
|
md5sums=('508c46d10686536a647a13937d53259f')
|
||||||
group=(dev.python)
|
group=(dev.python)
|
||||||
uses=()
|
uses=()
|
||||||
@@ -17,9 +17,16 @@ arch=('x86_64')
|
|||||||
|
|
||||||
cd wheel-$version
|
cd wheel-$version
|
||||||
|
|
||||||
|
prepare(){
|
||||||
|
rm -r src/wheel/vendored
|
||||||
|
sed -i 's/from .vendored.packaging.requirements import Requirement/from packaging.requirements import Requirement/' src/wheel/metadata.py
|
||||||
|
sed -i 's/from .vendored.packaging import tags/from packaging import tags/' src/wheel/bdist_wheel.py
|
||||||
|
sed -i 's/from .vendored.packaging import version as _packaging_version/from packaging import version as _packaging_version/' src/wheel/bdist_wheel.py
|
||||||
|
sed -i 's/from wheel.vendored.packaging import tags/from packaging import tags/' tests/test_bdist_wheel.py
|
||||||
|
}
|
||||||
|
|
||||||
build(){
|
build(){
|
||||||
python3 -m build --wheel --no-isolation
|
python3 -m build --wheel --no-isolation
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
package(){
|
package(){
|
||||||
|
|||||||
Reference in new issue
Block a user