From d799fb468788eb4c4d31d3ee33f38061295a6799 Mon Sep 17 00:00:00 2001 From: sulincix Date: Thu, 19 Jun 2025 20:14:50 +0000 Subject: [PATCH] python update --- dev/lang/python/ympbuild | 6 +- dev/lang/python3.10/turkman.patch | 13 ----- dev/lang/python3.11/ympbuild | 56 ------------------- .../{python3.11 => python3.13}/turkman.patch | 0 dev/lang/{python3.10 => python3.13}/ympbuild | 40 ++++++------- dev/python/asciidoc/ympbuild | 6 +- dev/python/graphviz/ympbuild | 12 ++-- dev/python/py3-babel/ympbuild | 6 +- dev/python/py3-build/ympbuild | 7 ++- dev/python/py3-cairo/ympbuild | 14 +++-- dev/python/py3-cerberus/ympbuild | 6 +- dev/python/py3-certifi/ympbuild | 7 ++- dev/python/py3-cffi/ympbuild | 8 +-- dev/python/py3-chardet/ympbuild | 2 +- dev/python/py3-cparser/ympbuild | 6 +- dev/python/py3-curl/ympbuild | 8 +-- dev/python/py3-cython/ympbuild | 15 +++-- dev/python/py3-dbus/ympbuild | 14 ++--- dev/python/py3-distro/ympbuild | 1 + dev/python/py3-docutils/ympbuild | 2 + dev/python/py3-editables/ympbuild | 1 + dev/python/py3-flit/ympbuild | 17 +++++- dev/python/py3-hatchling/ympbuild | 8 +-- dev/python/py3-hotdoc/ympbuild | 12 ++-- dev/python/py3-idna/ympbuild | 1 + dev/python/py3-jinja/ympbuild | 7 ++- dev/python/py3-lxml/ympbuild | 17 +++--- dev/python/py3-mako/ympbuild | 11 ++-- dev/python/py3-markdown/ympbuild | 7 ++- dev/python/py3-markupsafe/ympbuild | 8 +-- dev/python/py3-packaging/ympbuild | 15 ++++- dev/python/py3-pam/ympbuild | 3 +- dev/python/py3-parsing/ympbuild | 6 +- dev/python/py3-pdm-pep517/ympbuild | 13 ++--- dev/python/py3-pillow/ympbuild | 12 ++-- dev/python/py3-pluggy/ympbuild | 13 +++-- dev/python/py3-psutil/ympbuild | 7 +-- dev/python/py3-pycups/ympbuild | 6 +- dev/python/py3-pygments/ympbuild | 7 ++- dev/python/py3-pygobject/ympbuild | 18 ++++-- dev/python/py3-pyproject-hooks/ympbuild | 15 ++++- dev/python/py3-requests/ympbuild | 8 +-- dev/python/py3-setproctitle/ympbuild | 8 +-- dev/python/py3-setuptools-scm/ympbuild | 11 ++-- dev/python/py3-setuptools/ympbuild | 8 +-- dev/python/py3-six/ympbuild | 8 +-- dev/python/py3-snowballstemmer/ympbuild | 6 +- dev/python/py3-sphinx/ympbuild | 8 +-- dev/python/py3-stemmer/ympbuild | 18 ++---- dev/python/py3-tinycss2/ympbuild | 9 +-- dev/python/py3-tomli-w/ympbuild | 9 +-- dev/python/py3-tomli/ympbuild | 7 ++- dev/python/py3-trove-classifiers/ympbuild | 7 ++- dev/python/py3-tz/ympbuild | 6 +- dev/python/py3-urllib3/ympbuild | 11 ++-- dev/python/py3-wheel/ympbuild | 7 ++- dev/python/py3-xapp/ympbuild | 5 +- dev/python/py3-yaml/ympbuild | 6 +- dev/python/smartypants/ympbuild | 11 ++-- 59 files changed, 290 insertions(+), 296 deletions(-) delete mode 100644 dev/lang/python3.10/turkman.patch delete mode 100644 dev/lang/python3.11/ympbuild rename dev/lang/{python3.11 => python3.13}/turkman.patch (100%) rename dev/lang/{python3.10 => python3.13}/ympbuild (59%) diff --git a/dev/lang/python/ympbuild b/dev/lang/python/ympbuild index 0bd34bc9..59f36a5e 100644 --- a/dev/lang/python/ympbuild +++ b/dev/lang/python/ympbuild @@ -1,14 +1,14 @@ #!/usr/bin/env bash name='python' -release='2' -version='3.12' +release='3' +version='3.13' url='https://gitlab.com/turkman' description='Python meta package' email='aliriza.keskin@pardus.org.tr' maintainer='aliriza' license=('GPLv3') source=('pydefault' 'python.sysconf') -depends=('python3.12|python3.11|python3.10') +depends=('python3.13|python3.12') makedepends=() md5sums=('SKIP' 'SKIP') uses=() diff --git a/dev/lang/python3.10/turkman.patch b/dev/lang/python3.10/turkman.patch deleted file mode 100644 index 7c545de8..00000000 --- a/dev/lang/python3.10/turkman.patch +++ /dev/null @@ -1,13 +0,0 @@ ---- a/Lib/site.py 2019-09-06 23:59:43.080736298 +0300 -+++ b/Lib/site.py 2019-09-07 00:01:05.134165490 +0300 -@@ -337,7 +337,8 @@ - libdirs = [sys.platlibdir] - if sys.platlibdir != "lib": - libdirs.append("lib") -+ sitepackages.insert(0, os.path.join(prefix, "share", "python3")) -+ sitepackages.insert(0, os.path.join(prefix, "lib", "python3")) -- - if os.sep == '/': - for libdir in libdirs: - path = os.path.join(prefix, libdir, - diff --git a/dev/lang/python3.11/ympbuild b/dev/lang/python3.11/ympbuild deleted file mode 100644 index baf443de..00000000 --- a/dev/lang/python3.11/ympbuild +++ /dev/null @@ -1,56 +0,0 @@ -#!/usr/bin/env bash -name='python3.11' -release='1' -version='3.11.1' -url='https://www.python.org/downloads/' -description='Next generation of the python high-level scripting language' -email='parduscix@yandex.ru' -maintainer='sulincix' -license=('custom') -source=("https://www.python.org/ftp/python/$version/Python-$version.tar.xz" - 'turkman.patch') -depends=('bzip2' 'gdbm' 'libnsl' 'libxcrypt' 'openssl' 'zlib' 'sqlite') -makedepends=( ) -md5sums=('4efe92adf28875c77d3b9b2e8d3bc44a' - 'SKIP') -uses=(expat ffi) -ffi_depends=('libffi') -expat_depends=('expat') -arch=('x86_64') -group=(dev.lang python) - -export CFLAGS="-O2 -s" -export CXXFLAGS="-O2 -s" - - -cd Python-$version - -setup(){ - patch -Np1 -i "../turkman.patch" - ./configure --prefix=/usr \ - --libdir=/usr/lib \ - --enable-shared \ - $(use_opt expat --with-system-expat "") \ - $(use_opt ffi --with-system-ffi "") \ - --enable-optimizations -} - -build(){ - make $jobs -} - -package(){ - make install $jobs - mv ${DESTDIR}/usr/lib{,64} - # this symlinks provided by main python metapackage - for bin in pydoc3 idle3 python3 python3-config pip3 2to3; do - rm -f ${DESTDIR}/usr/bin/$bin - done - rm -f ${DESTDIR}/usr/lib64/pkgconfig/python3.pc - rm -f ${DESTDIR}/usr/lib64/pkgconfig/python3-embed.pc - # remove unused file - rm -f ${DESTDIR}/usr/share/man/man1/python3.1 - # move libpython3.so file - mv ${DESTDIR}/usr/lib64/libpython3.so ${DESTDIR}/usr/lib64/libpython3.so.3.11 -} - diff --git a/dev/lang/python3.11/turkman.patch b/dev/lang/python3.13/turkman.patch similarity index 100% rename from dev/lang/python3.11/turkman.patch rename to dev/lang/python3.13/turkman.patch diff --git a/dev/lang/python3.10/ympbuild b/dev/lang/python3.13/ympbuild similarity index 59% rename from dev/lang/python3.10/ympbuild rename to dev/lang/python3.13/ympbuild index 52ef6cd9..dae71dad 100644 --- a/dev/lang/python3.10/ympbuild +++ b/dev/lang/python3.13/ympbuild @@ -1,7 +1,7 @@ #!/usr/bin/env bash -name='python3.10' +name='python3.13' release='1' -version='3.10.8' +version='3.13.5' url='https://www.python.org/downloads/' description='Next generation of the python high-level scripting language' email='parduscix@yandex.ru' @@ -9,39 +9,41 @@ maintainer='sulincix' license=('custom') source=("https://www.python.org/ftp/python/$version/Python-$version.tar.xz" 'turkman.patch') -depends=('bzip2' 'gdbm' 'libnsl' 'libxcrypt' 'openssl' 'zlib' 'sqlite') +depends=('bzip2' 'gdbm' 'libnsl' 'libxcrypt' 'openssl' 'zlib' 'mpdecimal') makedepends=( ) -md5sums=('e92356b012ed4d0e09675131d39b1bde' +sha256sums=('93e583f243454e6e9e4588ca2c2662206ad961659863277afcdb96801647d640' 'SKIP') -uses=(expat ffi) -ffi_depends=('libffi') expat_depends=('expat') arch=('x86_64') group=(dev.lang python) -export CFLAGS="-O2 -s" -export CXXFLAGS="-O2 -s" +export CFLAGS="-O2 -s -flto -ffat-lto-objects" +export CXXFLAGS="-O2 -s -flto -ffat-lto-objects" +export LC_CTYPE=en_US.UTF-8 +export LANG=en_US.UTF-8 cd Python-$version setup(){ patch -Np1 -i "../turkman.patch" ./configure --prefix=/usr \ - --libdir=/usr/lib \ - --enable-shared \ - $(use_opt expat --with-system-expat "") \ - $(use_opt ffi --with-system-ffi "") \ - --enable-optimizations -} + --libdir=/usr/lib64 \ + --enable-ipv6 \ + --enable-loadable-sqlite-extensions \ + --enable-optimizations \ + --enable-shared \ + --with-computed-gotos \ + --with-dbmliborder=gdbm:ndbm \ + --with-system-expat \ + --with-system-libmpdec -build(){ - make $jobs + sed -i 's/^all:.*$/all: build_all/' Makefile + env -i PATH=$PATH make $jobs } package(){ - make install $jobs - mv ${DESTDIR}/usr/lib{,64} + env -i PATH=$PATH make install $jobs DESTDIR=$DESTDIR # this symlinks provided by main python metapackage for bin in pydoc3 idle3 python3 python3-config pip3 2to3; do rm -f ${DESTDIR}/usr/bin/$bin @@ -51,6 +53,6 @@ package(){ # remove unused file rm -f ${DESTDIR}/usr/share/man/man1/python3.1 # move libpython3.so file - mv ${DESTDIR}/usr/lib64/libpython3.so ${DESTDIR}/usr/lib64/libpython3.so.3.10 + mv ${DESTDIR}/usr/lib64/libpython3.so ${DESTDIR}/usr/lib64/libpython3.so.3.12 } diff --git a/dev/python/asciidoc/ympbuild b/dev/python/asciidoc/ympbuild index 80865de7..24813fbb 100644 --- a/dev/python/asciidoc/ympbuild +++ b/dev/python/asciidoc/ympbuild @@ -1,7 +1,7 @@ #!/usr/bin/env bash name='asciidoc' -release='2' -version='10.2.0' +release='3' +version='10.2.1' url='https://github.com/asciidoc-py/asciidoc-py/' description='A plain text human readable/writable document format ' email='bayramk@gmail.com' @@ -10,7 +10,7 @@ license=('GPLv3') source=("https://github.com/asciidoc-py/asciidoc-py/archive/refs/tags/$version.tar.gz") depends=(docbook-xsl libxslt python) makedepends=(py3-build py3-installer py3-wheel) -sha256sums=('684ea53c1f5b71d6d1ac6086bbc96906b1f709ecc7ab536615b0f0c9e1baa3cc') +sha256sums=('8e1fb9691952cc4f13357e1ef58172e566c5f88e3c44222d4a8693585f884507') group=(dev.python) uses=() arch=('x86_64') diff --git a/dev/python/graphviz/ympbuild b/dev/python/graphviz/ympbuild index 9787d3db..e48ce1e8 100644 --- a/dev/python/graphviz/ympbuild +++ b/dev/python/graphviz/ympbuild @@ -1,16 +1,16 @@ #!/usr/bin/env bash name='graphviz' -release='2' -version='12.1.1' +release='3' +version='13.0.1' url='https://www.graphviz.org/' description='Graph Visualization Tools' email='akarsu@protonmail.com' maintainer='akarsu' license=('EPL-1.0') -source=("https://gitlab.com/api/v4/projects/4207231/packages/generic/graphviz-releases/${version}/graphviz-${version}.tar.xz") -depends=() +source=("https://gitlab.com/graphviz/graphviz/-/archive/$version/graphviz-$version.tar.gz") +depends=(expat gcc gcc gtk3 librsvg libtool libwebp pango zlib) makedepends=() -sha256sums=('8dd4fa2a30a80e9ee4a11ad4f43f4a900d683684e824681b084a1dc86777a2a3') +sha256sums=('b91a80434f34986c47410b490d15ab1bd87fc7fea4e130161c8f029c548055a3') group=(dev.python) uses=() arch=('x86_64') @@ -19,7 +19,7 @@ cd $name-$version setup () { touch redhat/graphviz.spec.rhel.in - autoreconf -fvi + ./autogen.sh ./configure --prefix=/usr \ --libdir=/usr/lib64/ \ --sysconfdir=/etc \ diff --git a/dev/python/py3-babel/ympbuild b/dev/python/py3-babel/ympbuild index eb284418..b7155f02 100644 --- a/dev/python/py3-babel/ympbuild +++ b/dev/python/py3-babel/ympbuild @@ -1,7 +1,7 @@ #!/usr/bin/env bash name='py3-babel' -release='2' -version='2.14.0' +release='3' +version='2.17.0' url='http://babel.pocoo.org/' description='Python3 i18n tool' email='brkt8khn@gmail.com' @@ -10,7 +10,7 @@ license=('BSD-3-Clause') source=("https://github.com/python-babel/babel/archive/refs/tags/v${version}.tar.gz") depends=(python) makedepends=(py3-tz py3-setuptools) -sha256sums=('ad76eab6905b626d7d4110d2032bc60c69bef225ec94c67d7229425ebe53f659') +sha256sums=('a52696499d9da7860726444c170f3481dc7409398392f3500783d01c07221bbf') group=(dev.python) uses=() arch=('x86_64') diff --git a/dev/python/py3-build/ympbuild b/dev/python/py3-build/ympbuild index d00fa202..e00f655b 100644 --- a/dev/python/py3-build/ympbuild +++ b/dev/python/py3-build/ympbuild @@ -1,7 +1,7 @@ #!/usr/bin/env bash name='py3-build' -release='3' -version='1.2.1' +release='4' +version='1.2.2.post1' url='https://github.com/pypa/build/' description='Easily download, build, install, upgrade, and uninstall Python packages' email='aliriza.keskin@pardus.org.tr' @@ -10,13 +10,14 @@ license=('GPLv3') source=("https://github.com/pypa/build/archive/refs/tags/$version.tar.gz") depends=(python py3-packaging py3-pyproject-hooks) makedepends=() -sha256sums=('571fbbcd187eed0e7af47dd49e8f25ab22fb9cfbde5ed1daea67c5187dad9df6') +sha256sums=('25ae1da38e6d071da0d47d7229d58cef24852388669e89ce7500ec26e6261b58') uses=() group=(dev.python) arch=('x86_64') cd build-$version + package(){ mkdir -p $DESTDIR/usr/lib64/python3/build cp -prfv src/build/* $DESTDIR/usr/lib64/python3/build diff --git a/dev/python/py3-cairo/ympbuild b/dev/python/py3-cairo/ympbuild index 64af1c50..c6c30c74 100644 --- a/dev/python/py3-cairo/ympbuild +++ b/dev/python/py3-cairo/ympbuild @@ -1,7 +1,7 @@ #!/usr/bin/env bash name='py3-cairo' -release='5' -version='1.26.0' +release='6' +version='1.28.0' url='https://github.com/pygobject/pycairo/' description='Python bindings for the cairo library' email='bayramk@gmail.com' @@ -11,17 +11,21 @@ source=("https://github.com/pygobject/pycairo/archive/refs/tags/v$version.tar.gz pyver=$(python -c "import sys; print(str( sys.version_info[0]) +\".\"+ str(sys.version_info[1] ))") depends=(python"$pyver" cairo) makedepends=(meson py3-sphinx) -sha256sums=('b969ca68551c4ba37d08faa0da3ddae090b489062e8008f84db8e60bbe4ae9d8') +sha256sums=('e7e1a487820467a174512633f3ec4c49d567041e40f2d0135d14679045b054e9') group=(dev.python) uses=() arch=('x86_64') cd pycairo-$version +setup(){ + meson setup build --prefix=/usr +} + build(){ - python3 setup.py build + ninja -C build } package(){ - python3 setup.py install --root="${DESTDIR}" --install-lib=/usr/lib64/python3 --optimize=1 --skip-build + ninja -C build install } diff --git a/dev/python/py3-cerberus/ympbuild b/dev/python/py3-cerberus/ympbuild index d546c6ec..88f85a34 100644 --- a/dev/python/py3-cerberus/ympbuild +++ b/dev/python/py3-cerberus/ympbuild @@ -1,7 +1,7 @@ #!/usr/bin/env bash name='py3-cerberus' -release='2' -version='1.3.5' +release='3' +version='1.3.7' url='http://python-cerberus.org/' description='Lightweight, extensible data validation library for Python' email='brkt8khn@gmail.com' @@ -10,7 +10,7 @@ license=('ISC') source=("https://github.com/pyeve/cerberus/archive/refs/tags/${version}.tar.gz") depends=(python) makedepends=(py3-setuptools py3-build py3-installer py3-wheel) -sha256sums=('f2ee895c33ee25a159166263ee799c1a8a810086b99cabd5b1c8abdd5b193cac') +sha256sums=('2e74ba37eaac72c3a8efb09d61ce5ac80cc6e43df5f7688a67e832f40a4d9d73') group=(dev.python) uses=() arch=('x86_64') diff --git a/dev/python/py3-certifi/ympbuild b/dev/python/py3-certifi/ympbuild index 4c21f035..896703df 100644 --- a/dev/python/py3-certifi/ympbuild +++ b/dev/python/py3-certifi/ympbuild @@ -1,7 +1,7 @@ #!/usr/bin/env bash name='py3-certifi' -release='1' -version='2024.12.14' +release='2' +version='2025.06.15' url='https://github.com/certifi/pyhon-certifi' description='(Python Distribution) A carefully curated collection of Root Certificates for validating the trustworthiness of SSL certificates while verifying the identity of TLS hosts.' email='akarsu@protonmail.com' @@ -10,7 +10,7 @@ license=('MIT') source=("https://github.com/certifi/python-certifi/archive/refs/tags/$version.tar.gz") depends=(python) makedepends=(py3-setuptools) -sha256sums=('d9045cb5da5ee9678db7020990535a41dfb0779999adbedb375ae7dfdeb4b894') +sha256sums=('a3759ec1979f9758bafedf8c23cf398dbb93410c308042d272735d1cba8b43d0') group=(dev.python) uses=() arch=('x86_64') @@ -24,6 +24,7 @@ build(){ package(){ python3 -m installer --destdir ${DESTDIR} dist/*.whl + mv ${DESTDIR}/usr/lib/python3.*/site-packages ${DESTDIR}/usr/lib/python3 } diff --git a/dev/python/py3-cffi/ympbuild b/dev/python/py3-cffi/ympbuild index 338cd8da..9800115d 100644 --- a/dev/python/py3-cffi/ympbuild +++ b/dev/python/py3-cffi/ympbuild @@ -1,7 +1,7 @@ #!/usr/bin/env bash name='py3-cffi' -release='3' -version='1.16.0' +release='4' +version='1.17.1' url='https://pypi.org/project/cffi/' description='Foreign Function Interface for Python calling C code.' email='parduscix@yandex.ru' @@ -11,7 +11,7 @@ source=("https://github.com/python-cffi/cffi/archive/refs/tags/v${version}.tar.g #source=("https://files.pythonhosted.org/packages/2b/a8/050ab4f0c3d4c1b8aaa805f70e26e84d0e27004907c5b8ecc1d31815f92a/cffi-1.15.1.tar.gz") depends=(python py3-cparser libffi) makedepends=(py3-build py3-installer py3-wheel py3-setuptools) -sha256sums=('83414dab92270767261176d155908f18da846a4234dc195620f85a431d19e9d8') +sha256sums=('5aff2444731a1fc55c67080ded66d27cc4a0151e0bd37a7d02ca2a0c0edd895d') group=(dev.python) uses=() arch=('x86_64') @@ -23,6 +23,6 @@ build(){ } package(){ - python3 setup.py install --root="${DESTDIR}" --install-lib=/usr/lib64/python3 --optimize=1 --skip-build + python3 setup.py install --root="${DESTDIR}" --optimize=1 --skip-build } diff --git a/dev/python/py3-chardet/ympbuild b/dev/python/py3-chardet/ympbuild index 9f6bf7b6..0fab1f58 100644 --- a/dev/python/py3-chardet/ympbuild +++ b/dev/python/py3-chardet/ympbuild @@ -24,6 +24,6 @@ build(){ package(){ python3 -m installer --destdir ${DESTDIR} dist/*.whl + mv ${DESTDIR}/usr/lib/python3.*/site-packages ${DESTDIR}/usr/lib/python3 } - diff --git a/dev/python/py3-cparser/ympbuild b/dev/python/py3-cparser/ympbuild index 39feab7c..178457a2 100644 --- a/dev/python/py3-cparser/ympbuild +++ b/dev/python/py3-cparser/ympbuild @@ -1,7 +1,7 @@ #!/usr/bin/env bash name='py3-cparser' -release='2' -version='2.21' +release='3' +version='2.22' url='https://github.com/eliben/pycparser' description='A super-fast templating language that borrows the best ideas from the existing templating languages.' email='parduscix@yandex.ru' @@ -10,7 +10,7 @@ license=('GPLv3') source=("https://github.com/eliben/pycparser/archive/refs/tags/release_v$version.tar.gz") depends=(python) makedepends=(py3-wheel py3-setuptools) -sha256sums=('3c797eb2eb1ba57772bb99ffa7caed23c3a2c2ae58daef114c9b09d3a6da97e2') +sha256sums=('b074c239ee828fcb9c97774b942f3ce51f0d2edc00809f49c3c3ef0f3baaf9c1') group=(dev.python) uses=() arch=('x86_64') diff --git a/dev/python/py3-curl/ympbuild b/dev/python/py3-curl/ympbuild index 6c70ede1..b24e4993 100644 --- a/dev/python/py3-curl/ympbuild +++ b/dev/python/py3-curl/ympbuild @@ -1,7 +1,7 @@ #!/usr/bin/env bash name='py3-curl' -release='1' -version='7.45.2' +release='3' +version='7.45.6' url='http://pycurl.sourceforge.net/' description='A Python 3.x interface to libcurl' email='akarsu@protonmail.com' @@ -10,7 +10,7 @@ license=('LGPL' 'MIT') source=("https://salsa.debian.org/python-team/packages/pycurl/-/archive/upstream/${version}/pycurl-upstream-${version}.tar.gz") depends=(python curl openssl) makedepends=(py3-build py3-installer py3-wheel py3-setuptools) -sha256sums=('5a9eae08252d6e27925d5924593385c78100100461630f7ff2d3ffa7e13a4993') +sha256sums=('6871308f87f857a9faaef55df5cc4ae05e4ba0adf43405e73488e20cb60606c1') group=(dev.python) uses=() arch=('x86_64') @@ -22,7 +22,7 @@ build(){ } package(){ - python3 setup.py install --root="${DESTDIR}" --install-lib=/usr/lib64/python3 --optimize=1 --skip-build + python3 setup.py install --root="${DESTDIR}" --optimize=1 --skip-build } diff --git a/dev/python/py3-cython/ympbuild b/dev/python/py3-cython/ympbuild index 3904db86..15e7f872 100644 --- a/dev/python/py3-cython/ympbuild +++ b/dev/python/py3-cython/ympbuild @@ -1,7 +1,7 @@ #!/usr/bin/env bash name='py3-cython' -release='2' -version='3.0.10' +release='3' +version='3.1.2' url='https://cython.org/' description='A Python to C compiler.' email='bayramk@gmail.com' @@ -10,18 +10,23 @@ license=('GPLv3') source=("https://github.com/cython/cython/archive/refs/tags/$version.tar.gz") depends=(python3.11 libxml2 libxslt) makedepends=(py3-build py3-installer py3-wheel py3-setuptools) -sha256sums=('00f97476cef9fcd9a89f9d2a49be3b518e1a74b91f377fe08c97fcb44bc0f7d7') +sha256sums=('da72f94262c8948e04784c3e6b2d14417643703af6b7bd27d6c96ae7f02835f1') group=(dev.python) uses=() arch=('x86_64') - cd cython-$version +unset CFLAGS +unset CXXFLAGS +unset LDFLAGS + + +cd cython-$version build(){ python3 setup.py build } package(){ - python3 setup.py install --root="${DESTDIR}" --install-lib=/usr/lib64/python3 --optimize=1 --skip-build + python3 setup.py install --root="${DESTDIR}" --optimize=1 --skip-build } diff --git a/dev/python/py3-dbus/ympbuild b/dev/python/py3-dbus/ympbuild index 79ad947c..d4c8f5d7 100644 --- a/dev/python/py3-dbus/ympbuild +++ b/dev/python/py3-dbus/ympbuild @@ -1,17 +1,17 @@ #!/usr/bin/env bash name='py3-dbus' _name='dbus-python' -release='1' -version='1.3.2' +release='2' +version='1.4.0' url='https://www.freedesktop.org/wiki/Software/DBusBindings' description='Python3 bindings for DBUS' email='brkt8khn@gmail.com' maintainer='brkt8khn' license=('MIT') -source=("https://dbus.freedesktop.org/releases/dbus-python/$_name-${version}.tar.gz") +source=("https://dbus.freedesktop.org/releases/dbus-python/$_name-${version}.tar.xz") depends=(python dbus) makedepends=(py3-sphinx py3-tomli) -sha256sums=('ad67819308618b5069537be237f8e68ca1c7fcc95ee4a121fe6845b1418248f8') +sha256sums=('c36b28f10ffcc8f1f798aca973bcc132f91f33eb9b6b8904381b4077766043d5') group=(dev.python) uses=() arch=('x86_64') @@ -19,15 +19,15 @@ arch=('x86_64') cd $_name-$version setup(){ - ./configure --prefix=/usr \ + meson setup build --prefix=/usr \ --libdir=/usr/lib64/ } build(){ - make $jobs + ninja -C build $jobs } package(){ - make install $jobs + ninja -C build install $jobs } diff --git a/dev/python/py3-distro/ympbuild b/dev/python/py3-distro/ympbuild index dedac853..d75e341b 100644 --- a/dev/python/py3-distro/ympbuild +++ b/dev/python/py3-distro/ympbuild @@ -24,5 +24,6 @@ build () { package () { python -m installer --destdir="${DESTDIR}" dist/*.whl + mv ${DESTDIR}/usr/lib/python3.*/site-packages ${DESTDIR}/usr/lib/python3 } diff --git a/dev/python/py3-docutils/ympbuild b/dev/python/py3-docutils/ympbuild index ca3347f7..d1e7ec86 100644 --- a/dev/python/py3-docutils/ympbuild +++ b/dev/python/py3-docutils/ympbuild @@ -23,6 +23,8 @@ build(){ package(){ python3 -m installer --destdir="$DESTDIR" dist/*.whl + mv ${DESTDIR}/usr/lib/python3.*/site-packages ${DESTDIR}/usr/lib/python3 } + diff --git a/dev/python/py3-editables/ympbuild b/dev/python/py3-editables/ympbuild index 307af45f..a263b07c 100644 --- a/dev/python/py3-editables/ympbuild +++ b/dev/python/py3-editables/ympbuild @@ -23,6 +23,7 @@ build(){ package(){ python -m installer --destdir="$DESTDIR" dist/*.whl + mv ${DESTDIR}/usr/lib/python3.*/site-packages ${DESTDIR}/usr/lib/python3 } diff --git a/dev/python/py3-flit/ympbuild b/dev/python/py3-flit/ympbuild index 7282fbd7..44899fb2 100644 --- a/dev/python/py3-flit/ympbuild +++ b/dev/python/py3-flit/ympbuild @@ -1,7 +1,7 @@ #!/usr/bin/env bash name='py3-flit' -release='3' -version='3.9.0' +release='4' +version='3.12.0' url='https://github.com/pypa/flit' description='Simplified packaging of Python modules' email='aliriza.keskin@pardus.org.tr' @@ -10,14 +10,24 @@ license=('GPLv3') source=("https://github.com/pypa/flit/archive/refs/tags/$version.tar.gz") depends=(python) makedepends=() -sha256sums=('55e28d0953726c4c744f02779b85f733f65da5bffb6a5d2fe11072d19ca2d148') +sha256sums=('c157ff92c01f4bb169182722ff76aadac113926b729215e91909021aa56e2ea3') group=(dev.python) uses=() arch=('x86_64') cd flit-$version +## this package require itself. so we must use venv for build +prepare(){ + python3 -m venv . + source bin/activate + pip3 install build installer flit +} + + + build(){ + source bin/activate cur=$PWD for dir in . flit_core; do cd $dir @@ -33,4 +43,5 @@ package(){ python -m installer --destdir="$DESTDIR" dist/*.whl cd $cur done + mv ${DESTDIR}/usr/lib/python3.*/site-packages ${DESTDIR}/usr/lib/python3 } diff --git a/dev/python/py3-hatchling/ympbuild b/dev/python/py3-hatchling/ympbuild index b5ecb0c5..f8df39d5 100644 --- a/dev/python/py3-hatchling/ympbuild +++ b/dev/python/py3-hatchling/ympbuild @@ -1,7 +1,7 @@ #!/usr/bin/env bash name='py3-hatchling' -release='3' -version='1.24.2' +release='4' +version='1.27.0' url='https://github.com/pypa/hatch' description=' Modern, extensible Python build backend' email='brkt8khn@gmail.com' @@ -10,7 +10,7 @@ license=('MIT') source=("https://github.com/pypa/hatch/archive/refs/tags/hatchling-v${version}.tar.gz") depends=(python) makedepends=(py3-build py3-installer) -sha256sums=('b8e6974a780dc2c5b43676c352f20e19c61a33b7a4e1cb47b05c364ae22f0a8c') +sha256sums=('c5d576a04bbc3940c71dc899da35a9cfe644044a6e4e70549f41d964d6331625') group=(dev.python) uses=() arch=('x86_64') @@ -25,7 +25,7 @@ package(){ python -m installer --destdir="$DESTDIR" backend/dist/*.whl install -Dm644 README.md "${DESTDIR}/usr/share/doc/${name}/README.md" install -Dm644 backend/LICENSE.txt "${DESTDIR}/usr/share/licenses/${name}/LICENSE.txt" - + mv ${DESTDIR}/usr/lib/python3.*/site-packages ${DESTDIR}/usr/lib/python3 } diff --git a/dev/python/py3-hotdoc/ympbuild b/dev/python/py3-hotdoc/ympbuild index 4be9db53..06f25084 100644 --- a/dev/python/py3-hotdoc/ympbuild +++ b/dev/python/py3-hotdoc/ympbuild @@ -1,16 +1,18 @@ #!/usr/bin/env bash name='py3-hotdoc' -release='1' -version='0.14.0' +release='2' +version='0.17.4' url='https://pypi.org/project/hotdoc/' description='A documentation tool micro-framework' email='aliriza.keskin@pardus.org.tr' maintainer='aliriza' license=('GPLv3') -source=("https://files.pythonhosted.org/packages/56/ad/c3c7fb2cae9baa369317600d66f41ecbf723867f3e19e5dd56aed09b7ed0/hotdoc-$version.tar.gz") +#source=("https://github.com/hotdoc/hotdoc/archive/refs/tags/$version.tar.gz") +source=(https://files.pythonhosted.org/packages/60/fd/32e24a747181e060ace04cd927698b2b5b3b90f6bf2c014e12df630c183a/hotdoc-0.17.4.tar.gz) + depends=(python json-glib) makedepends=() -md5sums=('1cd551b2d565877537ffa0854d6ecaee') +sha256sums=('c4d5dff647f03aa87a1d2d06035d2819edd099b91635e3b2ee390829357ae9fc') group=(dev.python) uses=() arch=('x86_64') @@ -22,7 +24,7 @@ build(){ } package(){ - python setup.py install --root="${DESTDIR}" --install-lib=/usr/lib64/python3 --optimize=1 --skip-build + python setup.py install --root="${DESTDIR}" --optimize=1 --skip-build } diff --git a/dev/python/py3-idna/ympbuild b/dev/python/py3-idna/ympbuild index 5d31131d..ee6a7d10 100644 --- a/dev/python/py3-idna/ympbuild +++ b/dev/python/py3-idna/ympbuild @@ -24,6 +24,7 @@ build(){ package(){ python3 -m installer --destdir ${DESTDIR} dist/*.whl + mv ${DESTDIR}/usr/lib/python3.*/site-packages ${DESTDIR}/usr/lib/python3 } diff --git a/dev/python/py3-jinja/ympbuild b/dev/python/py3-jinja/ympbuild index 3ed3416a..c4c35cd9 100644 --- a/dev/python/py3-jinja/ympbuild +++ b/dev/python/py3-jinja/ympbuild @@ -1,7 +1,7 @@ #!/usr/bin/env bash name='py3-jinja' -release='2' -version='3.1.4' +release='3' +version='3.1.6' url='https://github.com/pallets/jinja' description='A very fast and expressive template engine.' email='parduscix@yandex.ru' @@ -10,7 +10,7 @@ license=('GPLv3') source=("https://github.com/pallets/jinja/archive/refs/tags/$version.tar.gz") depends=(python) makedepends=(py3-markupsafe) -sha256sums=('ed06f67abd2c8b7697dfb714f80715903ab0507e3c5acc11e92477e4ea51033b') +sha256sums=('2074b22a72caa65474902234b320d73463d6d4c223ee49f4b433495758356337') group=(dev.python) uses=() arch=('x86_64') @@ -23,5 +23,6 @@ build(){ package(){ python3 -m installer -d "$DESTDIR" dist/*.whl + mv ${DESTDIR}/usr/lib/python3.*/site-packages ${DESTDIR}/usr/lib/python3 } diff --git a/dev/python/py3-lxml/ympbuild b/dev/python/py3-lxml/ympbuild index 8c3185d4..529aff72 100644 --- a/dev/python/py3-lxml/ympbuild +++ b/dev/python/py3-lxml/ympbuild @@ -1,29 +1,32 @@ #!/usr/bin/env bash name='py3-lxml' -release='1' -version='4.9.2' +release='2' +version='5.4.0' url='https://pypi.org/project/lxml/' description='Powerful and Pythonic XML processing library combining libxml2/libxslt with the ElementTree API.' email='bayramk@gmail.com' maintainer='bk' license=('GPLv3') source=("https://github.com/lxml/lxml/archive/refs/tags/lxml-$version.tar.gz") -depends=(python3.11 libxml2 libxslt py3-cython) +depends=(python libxml2 libxslt py3-cython) makedepends=() -md5sums=('08379bd7d53386d636db7ff3d0e05fde') +sha256sums=('12ed971a99bd07977e236bf59314cfd53fbf5d59f39d4a13caad901c7fceb0a2') group=(dev.python) uses=() arch=('x86_64') -mv lxml-lxml-$version lxml-$version - cd lxml-$version +cd lxml-lxml-$version + +unset CFLAGS +unset CXXFLAGS +unset LDFLAGS build(){ python3 setup.py build } package(){ - python3 setup.py install --root="${DESTDIR}" --install-lib=/usr/lib64/python3 --optimize=1 --skip-build + python3 setup.py install --root="${DESTDIR}" --optimize=1 --skip-build } diff --git a/dev/python/py3-mako/ympbuild b/dev/python/py3-mako/ympbuild index 00bc9484..73386fc4 100644 --- a/dev/python/py3-mako/ympbuild +++ b/dev/python/py3-mako/ympbuild @@ -1,22 +1,21 @@ #!/usr/bin/env bash name='py3-mako' -release='3' -version='1.3.5' -_version='1_3_5' +release='4' +version='1.3.10' url='https://pypi.org/project/Mako/' description='A super-fast templating language that borrows the best ideas from the existing templating languages.' email='parduscix@yandex.ru' maintainer='sulincix' license=('GPLv3') -source=("https://github.com/sqlalchemy/mako/archive/refs/tags/rel_${_version}.tar.gz") +source=("https://github.com/sqlalchemy/mako/archive/refs/tags/rel_${version//./_}.tar.gz") depends=(python py3-markupsafe) makedepends=() -sha256sums=('abaf7d76e50d92ce6218a8437ea6ef93905598050099eb125c37dc55a5fffe32') +sha256sums=('e8f1334904611d5cb357b6396790fd4375ac21ad901f4314d222d5d5758979b9') group=(dev.python) uses=() arch=('x86_64') -cd mako-rel_$_version +cd mako-rel_${version//./_} build(){ python3 setup.py build diff --git a/dev/python/py3-markdown/ympbuild b/dev/python/py3-markdown/ympbuild index 54c70589..5f855ac8 100644 --- a/dev/python/py3-markdown/ympbuild +++ b/dev/python/py3-markdown/ympbuild @@ -1,7 +1,7 @@ #!/usr/bin/env bash name='py3-markdown' -release='3' -version='3.6' +release='4' +version='3.8.2' url='https://github.com/Python-Markdown/markdown' description='A Python implementation of John Gruber’s Markdown with Extension support.' email='parduscix@yandex.ru' @@ -10,7 +10,7 @@ license=('GPLv3') source=("https://github.com/Python-Markdown/markdown/archive/refs/tags/$version.tar.gz") depends=(python) makedepends=(py3-build py3-installer py3-setuptools py3-wheel) -sha256sums=('f65f3867f967b4b0ea4acd951bb7f0d9cb4d033c6fc28847a7eeb4d9fe242844') +sha256sums=('c9573a1ebcbb678c2b1c8b7706380f6dbecc00a97b8324c2ab6037d1ae6b825b') group=(dev.python) uses=() arch=('x86_64') @@ -23,5 +23,6 @@ build(){ package(){ python3 -m installer --destdir="$DESTDIR" dist/*.whl + mv ${DESTDIR}/usr/lib/python3.*/site-packages ${DESTDIR}/usr/lib/python3 } diff --git a/dev/python/py3-markupsafe/ympbuild b/dev/python/py3-markupsafe/ympbuild index b0436f31..4f6fd92a 100644 --- a/dev/python/py3-markupsafe/ympbuild +++ b/dev/python/py3-markupsafe/ympbuild @@ -1,7 +1,7 @@ #!/usr/bin/env bash name='py3-markupsafe' -release='2' -version='2.1.5' +release='3' +version='3.0.2' url='https://pypi.org/project/MarkupSafe' description='Safely add untrusted strings to HTML/XML markup.' email='aliriza.keskin@pardus.org.tr' @@ -10,7 +10,7 @@ license=('GPLv3') source=("https://github.com/pallets/markupsafe/archive/refs/tags/${version}.tar.gz") depends=(python) makedepends=(py3-build py3-installer py3-setuptools py3-wheel) -sha256sums=('307f63295d17f178b7d3af5968fb828e34086d5d66fec505b630a1e5f5b3328b') +sha256sums=('cd182103704bfafefce25369fd27f14a5f578f078b7f3ddd1ce2cb940b86403a') group=(dev.python) uses=() arch=('x86_64') @@ -22,6 +22,6 @@ build(){ } package(){ - python3 setup.py install --root="${DESTDIR}" --install-lib=/usr/lib64/python3 --optimize=1 --skip-build + python3 setup.py install --root="${DESTDIR}" --optimize=1 --skip-build } diff --git a/dev/python/py3-packaging/ympbuild b/dev/python/py3-packaging/ympbuild index 18f46aba..284fd090 100644 --- a/dev/python/py3-packaging/ympbuild +++ b/dev/python/py3-packaging/ympbuild @@ -1,7 +1,7 @@ #!/usr/bin/env bash name='py3-packaging' -release='3' -version='24.0' +release='4' +version='25.0' url='https://pypi.org/project/packaging' description='Core utilities for Python3 packages' email='brkt8khn@gmail.com' @@ -10,7 +10,7 @@ license=('Apache-2.0 AND BSD-2-Clause') source=("https://github.com/pypa/packaging/archive/refs/tags/${version}.tar.gz") depends=(python) makedepends=(py3-build py3-installer) -sha256sums=('1bf35cf2c2be982f2ae6c905760ae19cb744fadbf56269f2e54f7bdcef64d291') +sha256sums=('15b6ba95eb12d8f99dcf215ea37cbea16812ef28358e8ef3d9344acb827acac1') group=(dev.python) uses=() arch=('x86_64') @@ -19,7 +19,16 @@ cd "packaging"-$version export PYTHONPATH=src/packaging +## this package require itself. so we must use venv for build +prepare(){ + python3 -m venv . + source bin/activate + pip3 install build installer flit +} + + build(){ + source bin/activate python -m build -nw } diff --git a/dev/python/py3-pam/ympbuild b/dev/python/py3-pam/ympbuild index 3b3b31ce..866c8729 100644 --- a/dev/python/py3-pam/ympbuild +++ b/dev/python/py3-pam/ympbuild @@ -18,12 +18,13 @@ arch=('x86_64') cd "python-pam"-$version build(){ - python -m build --wheel --no-isolation + python -m build --wheel } package(){ python -m installer --destdir="${DESTDIR}" dist/*.whl install -Dm644 LICENSE "${DESTDIR}/usr/share/licenses/${name}/LICENSE" + mv ${DESTDIR}/usr/lib/python3.*/site-packages ${DESTDIR}/usr/lib/python3 } diff --git a/dev/python/py3-parsing/ympbuild b/dev/python/py3-parsing/ympbuild index 17ea0841..dd1fb7ae 100644 --- a/dev/python/py3-parsing/ympbuild +++ b/dev/python/py3-parsing/ympbuild @@ -1,7 +1,7 @@ #!/usr/bin/env bash name='py3-parsing' -release='2' -version='3.1.2' +release='3' +version='3.2.3' url='https://pypi.org/project/pyparsing/' description='Python library for creating PEG parsers' email='parduscix@yandex.ru' @@ -10,7 +10,7 @@ license=('GPLv3') source=("https://github.com/pyparsing/pyparsing/archive/refs/tags/${version}.tar.gz") depends=(python) makedepends=(py3-build py3-installer py3-flit) -sha256sums=('a8a6b7db8b837566884b6c5d8d24bf627f85b72c8abce1338e4d7ffe1a88473e') +sha256sums=('3ad3397385c3f68c89d313529af4cafc9a9117845bc0cb6b38f02e621d151d38') group=(dev.python) uses=() arch=('x86_64') diff --git a/dev/python/py3-pdm-pep517/ympbuild b/dev/python/py3-pdm-pep517/ympbuild index 7aaed0c0..16bf3e32 100644 --- a/dev/python/py3-pdm-pep517/ympbuild +++ b/dev/python/py3-pdm-pep517/ympbuild @@ -1,25 +1,23 @@ #!/usr/bin/env bash name='py3-pdm-pep517' -release='1' -version='1.1.4' +release='2' +version='2.4.4' url='https://github.com/pdm-project/pdm-pep517' description='A PEP 517 backend for PDM that supports PEP 621 metadata' email='akarsu@protonmail.com' maintainer='akarsu' license=('MIT') -source=("https://github.com/pdm-project/pdm-backend/archive/refs/tags/${version}.tar.gz" "python-pdm-pep517-1.1.2-devendor.patch") +source=("https://github.com/pdm-project/pdm-backend/archive/refs/tags/${version}.tar.gz") depends=(py3-tomli-w) makedepends=(py3-tomli py3-cerberus) -md5sums=('ba5d54bfe72feec5330ab3524870783b' 'SKIP') +sha256sums=('d77661cd03121a89e323db364863793bf170a93dcb0d7abb328772c386527f93') group=(dev.python) uses=() arch=('x86_64') cd "pdm-backend"-$version -prepare(){ - patch -Np1 -d ../pdm-backend-$version -i ../python-pdm-pep517-1.1.2-devendor.patch -} +export PDM_BUILD_SCM_VERSION="$version" build(){ python -m build --wheel --skip-dependency-check --no-isolation @@ -27,5 +25,6 @@ build(){ package(){ python -m installer --destdir="$DESTDIR" dist/*.whl + mv ${DESTDIR}/usr/lib/python3.*/site-packages ${DESTDIR}/usr/lib/python3 } diff --git a/dev/python/py3-pillow/ympbuild b/dev/python/py3-pillow/ympbuild index 3b1a6519..345f9fd2 100644 --- a/dev/python/py3-pillow/ympbuild +++ b/dev/python/py3-pillow/ympbuild @@ -1,7 +1,7 @@ #!/usr/bin/env bash name='py3-pillow' -release='5' -version='10.3.0' +release='6' +version='11.2.1' url='https://python-pillow.org/' description='Python Imaging Library' email='brkt8khn@gmail.com' @@ -9,8 +9,8 @@ maintainer='brkt8khn' license=('BSD') source=("https://github.com/python-pillow/Pillow/archive/refs/tags/${version}.tar.gz") depends=(python freetype lcms2 libtiff libxcb) -makedepends=(git py3-build py3-installer py3-wheel py3-setuptools libwebp) -sha256sums=('5a2f1a812237bf9bd57f283422f46ca97a1c3d43d5f67b9bf8a0d499c4b97c85') +makedepends=(py3-build py3-installer py3-wheel py3-setuptools libwebp) +sha256sums=('67dd6d40e282fd3b50189bd7f68a6e9b8e59b297d3684cb35ab107e7aec8379e') group=(dev.python) uses=() arch=('x86_64') @@ -18,9 +18,9 @@ arch=('x86_64') cd "Pillow"-$version build(){ - python3 setup.py build + python3 -m build } package(){ - python3 setup.py install --root="${DESTDIR}" --install-lib=/usr/lib64/python3 --optimize=1 --skip-build + python3 -m installer --destdir="$DESTDIR" dist/*.whl } \ No newline at end of file diff --git a/dev/python/py3-pluggy/ympbuild b/dev/python/py3-pluggy/ympbuild index 3d3eccc3..de780ba2 100644 --- a/dev/python/py3-pluggy/ympbuild +++ b/dev/python/py3-pluggy/ympbuild @@ -1,16 +1,16 @@ #!/usr/bin/env bash name='py3-pluggy' -release='3' -version='1.5.0' -url='https://pluggy.readthedocs.io/en/latest/' +release='4' +version='1.6.0' +url='https://github.com/pytest-dev/pluggy/tags' description='Plugin management and hook calling for Python' email='akarsu@protonmail.com' maintainer='akarsu' license=('MIT') -source=("https://files.pythonhosted.org/packages/96/2d/02d4312c973c6050a18b314a5ad0b3210edb65a906f868e31c111dede4a6/pluggy-1.5.0.tar.gz") +source=("https://github.com/pytest-dev/pluggy/archive/refs/tags/$version.tar.gz") depends=(py3-pdm-pep517) makedepends=(py3-setuptools) -sha256sums=('2cffa88e94fdc978c4c574f15f9e59b7f4201d439195c3715ca9e2486f1d0cf1') +sha256sums=('d35ec78be56dae9fd736e1378a2c3c176fd2aefd9daefc209abeab569c2732ee') group=(dev.python) uses=() arch=('x86_64') @@ -18,12 +18,15 @@ arch=('x86_64') cd "pluggy"-$version +export SETUPTOOLS_SCM_PRETEND_VERSION=$version + build(){ python3 -m build } package(){ python3 -m installer --destdir ${DESTDIR} dist/*.whl + mv ${DESTDIR}/usr/lib/python3.*/site-packages ${DESTDIR}/usr/lib/python3 } diff --git a/dev/python/py3-psutil/ympbuild b/dev/python/py3-psutil/ympbuild index b10bb9ff..6a76eb70 100644 --- a/dev/python/py3-psutil/ympbuild +++ b/dev/python/py3-psutil/ympbuild @@ -1,7 +1,7 @@ #!/usr/bin/env bash name='py3-psutil' -release='2' -version='6.0.0' +release='3' +version='7.0.0' url='https://github.com/giampaolo/psutil' description='Cross-platform lib for process and system monitoring in Python' email='aliriza.keskin@pardus.org.tr' @@ -10,7 +10,7 @@ license=('GPLv3') source=("https://github.com/giampaolo/psutil/archive/refs/tags/release-$version.tar.gz") depends=(python) makedepends=() -sha256sums=('187588c10ff4804b91e0c947d6b1a4006dbb633261c0f869865de518603c5d5e') +sha256sums=('a3c736187215d1f94ebe18ee6b14202d1b89c165c2eaad159f55cdfb494f7a1c') group=(dev.python) uses=() arch=('x86_64') @@ -24,6 +24,5 @@ build () { package () { python3 setup.py install --skip-build --root="$DESTDIR" - rm -r "$DESTDIR"/usr/lib/python3*/site-packages/psutil/tests/ } diff --git a/dev/python/py3-pycups/ympbuild b/dev/python/py3-pycups/ympbuild index 7e220c5d..4a146440 100644 --- a/dev/python/py3-pycups/ympbuild +++ b/dev/python/py3-pycups/ympbuild @@ -1,7 +1,7 @@ #!/usr/bin/env bash name='py3-pycups' -release='1' -version='2.0.1' +release='2' +version='2.0.4' url='https://github.com/OpenPrinting/pycups' description='Python bindings for cups' email='aliriza.keskin@pardus.org.tr' @@ -10,7 +10,7 @@ license=('GPLv3') source=("https://github.com/OpenPrinting/pycups/archive/refs/tags/v$version.tar.gz") depends=(python cups) makedepends=() -md5sums=('0d36ad4c8f8c3e3b29527f65abfcb758') +sha256sums=('31d9cf62df7884fe430d11970a8c9278282a47a0ff6b1529c58c7d26e8eb4789') group=(dev.python) uses=() arch=('x86_64') diff --git a/dev/python/py3-pygments/ympbuild b/dev/python/py3-pygments/ympbuild index e90f1712..ae039064 100644 --- a/dev/python/py3-pygments/ympbuild +++ b/dev/python/py3-pygments/ympbuild @@ -1,7 +1,7 @@ #!/usr/bin/env bash name='py3-pygments' -release='5' -version='2.17.2' +release='6' +version='2.19.1' url='https://pypi.org/project/Pygments' description='Pygments is a syntax highlighting package written in Python.' email='aliriza.keskin@pardus.org.tr' @@ -10,7 +10,7 @@ license=('GPLv3') source=("https://github.com/pygments/pygments/archive/refs/tags/${version}.tar.gz") depends=(python) makedepends=() -md5sums=('33dc62d82b628ba4ce78b4929b851157') +sha256sums=('4e2dd1c5564677f47df7fc99f0f10c9670dca239f15eda6d01b8e2e63e16b7b2') group=(dev.python) uses=() arch=('x86_64') @@ -23,4 +23,5 @@ build(){ package(){ python -m installer --destdir="$DESTDIR" dist/*.whl + mv ${DESTDIR}/usr/lib/python3.*/site-packages ${DESTDIR}/usr/lib/python3 } diff --git a/dev/python/py3-pygobject/ympbuild b/dev/python/py3-pygobject/ympbuild index 247e9acd..a77cb864 100644 --- a/dev/python/py3-pygobject/ympbuild +++ b/dev/python/py3-pygobject/ympbuild @@ -1,7 +1,7 @@ #!/usr/bin/env bash name='py3-pygobject' -release='1' -version='3.43.1' +release='2' +version='3.50.1' url='Python bindings for GObject Introspection' description='Python bindings for GObject Introspection' email='bayramk@gmail.com' @@ -9,19 +9,25 @@ maintainer='bk' license=('GPLv3') source=("https://gitlab.gnome.org/GNOME/pygobject/-/archive/$version/pygobject-$version.tar.gz") pyver=$(python -c "import sys; print(str( sys.version_info[0]) +\".\"+ str(sys.version_info[1] ))") -depends=(python"$pyver" gobject-introspection) +depends=(python"$pyver" gobject-introspection py3-cairo) makedepends=() -md5sums=('644705774d5cd6b668e95ac33ba64de2') +sha256sums=('c4f28db7715c674e23577ffc797ef1c37b2c009248c73b69dd577861c889c564') group=(dev.python) uses=() arch=('x86_64') cd pygobject-$version +setup(){ + meson setup build --prefix=/usr \ + -Dtests=false \ + -Dpycairo=enabled +} + build(){ - python3 setup.py build + ninja -C build } package(){ - python3 setup.py install --root="${DESTDIR}" --install-lib=/usr/lib64/python3 --optimize=1 --skip-build + ninja -C build install } diff --git a/dev/python/py3-pyproject-hooks/ympbuild b/dev/python/py3-pyproject-hooks/ympbuild index 7539e8f4..b57a17a8 100644 --- a/dev/python/py3-pyproject-hooks/ympbuild +++ b/dev/python/py3-pyproject-hooks/ympbuild @@ -1,7 +1,7 @@ #!/usr/bin/env bash name='py3-pyproject-hooks' -release='2' -version='1.1.0' +release='3' +version='1.2.0' url='https://github.com/pypa/pyproject-hooks' description='Python project hooks' email='aliriza.keskin@pardus.org.tr' @@ -10,7 +10,7 @@ license=('GPLv3') source=("https://github.com/pypa/pyproject-hooks/archive/refs/tags/v$version.tar.gz") depends=(python) makedepends=(py3-build) -sha256sums=('1cbbabcd93ea1ac50cca7f23e5b640904684ae6c85003c6f7cf02b598c33f28f') +sha256sums=('d993cda99f6c41c2679a0cd5528fc15608cc114df26553deb41db62185c11206') group=(dev.python) uses=() arch=('x86_64') @@ -19,7 +19,16 @@ cd pyproject-hooks-$version export PYTHONPATH=src/pyproject_hooks + +## this package require itself. so we must use venv for build +prepare(){ + python3 -m venv . + source bin/activate + pip3 install build installer +} + build () { + source bin/activate python -m build --wheel } diff --git a/dev/python/py3-requests/ympbuild b/dev/python/py3-requests/ympbuild index afb8c749..b00d3848 100644 --- a/dev/python/py3-requests/ympbuild +++ b/dev/python/py3-requests/ympbuild @@ -1,16 +1,16 @@ #!/usr/bin/env bash name='py3-requests' -release='1' -version='2.31.0' +release='3' +version='2.32.4' url='https://requests.readthedocs.io/' description='Python HTTP for Humans' email='akarsu@protonmail.com' maintainer='akarsu' license=('Apache') source=("https://github.com/psf/requests/archive/refs/tags/v${version}.tar.gz") -depends=(py3-certifi py3-idna py3-urllib3 python) +depends=(py3-certifi py3-idna py3-urllib3 python py3-urllib3) makedepends=(py3-build py3-wheel py3-setuptools) -md5sums=('fb734df6b273e30f68f9346dbf72aa34') +sha256sums=('cb4faf6ae4a5a1cee78f08f950c54ef1b03e77dee595ac80f304e96576a48fba') group=(dev.python) uses=() arch=('x86_64') diff --git a/dev/python/py3-setproctitle/ympbuild b/dev/python/py3-setproctitle/ympbuild index 430e73d4..eb0ed6ce 100644 --- a/dev/python/py3-setproctitle/ympbuild +++ b/dev/python/py3-setproctitle/ympbuild @@ -1,7 +1,7 @@ #!/usr/bin/env bash name='py3-setproctitle' -release='2' -version='1.3.3' +release='3' +version='1.3.6' url='https://github.com/dvarrazzo/py-setproctitle' description='A Python module to customize the process title' email='akarsu@protonmail.com' @@ -10,7 +10,7 @@ license=('BSD-3-Clause') source=("https://github.com/dvarrazzo/py-setproctitle/archive/refs/tags/version-${version}.tar.gz") depends=(python) makedepends=() -sha256sums=('c4ff32c5482f7b434bd3b3a29d11a4cbac05e5f3b88eeba24c8ba7d2e405af9d') +sha256sums=('be91b6f4e476bf3c6412db08df79f95cd54f8e1bb52b35452fb38066997a9cce') group=(dev.python) uses=() arch=('x86_64') @@ -22,7 +22,7 @@ build(){ } package(){ - python3 setup.py install --root="${DESTDIR}" --install-lib=/usr/lib64/python3 --optimize=1 --skip-build + python3 setup.py install --root="${DESTDIR}" --optimize=1 --skip-build } diff --git a/dev/python/py3-setuptools-scm/ympbuild b/dev/python/py3-setuptools-scm/ympbuild index 0335a0ed..e25d29e3 100644 --- a/dev/python/py3-setuptools-scm/ympbuild +++ b/dev/python/py3-setuptools-scm/ympbuild @@ -1,7 +1,7 @@ #!/usr/bin/env bash name='py3-setuptools-scm' -release='1' -version='8.1.0' +release='2' +version='8.3.1' url='https://github.com/pypa/setuptools_scm' description='Handles managing your python package versions in scm metadata' email='brkt8khn@gmail.com' @@ -10,19 +10,20 @@ license=('MIT') source=("https://github.com/pypa/setuptools_scm/archive/refs/tags/v${version}.tar.gz") depends=(python py3-packaging py3-setuptools) makedepends=(py3-build py3-installer py3-wheel) -sha256sums=('070b0850fc17a832ccefe23c8b51418965b9e56be60027e5398ad276153bf091') +sha256sums=('b37ede42f184324a408a256cce7f2e3b94c87e158d839e9737126e0d720244c9') uses=() group=(dev.python) arch=('x86_64') -cd setuptools_scm-$version +cd setuptools-scm-$version build(){ - python3 -m build --wheel --skip-dependency-check --no-isolation + python3 -m build --wheel } package(){ python3 -m installer --destdir="$DESTDIR" dist/*.whl + mv ${DESTDIR}/usr/lib/python3.*/site-packages ${DESTDIR}/usr/lib/python3 } diff --git a/dev/python/py3-setuptools/ympbuild b/dev/python/py3-setuptools/ympbuild index 65852003..c3a04faf 100644 --- a/dev/python/py3-setuptools/ympbuild +++ b/dev/python/py3-setuptools/ympbuild @@ -1,7 +1,7 @@ #!/usr/bin/env bash name='py3-setuptools' -release='5' -version='71.1.0' +release='6' +version='80.9.0' url='https://pypi.org/project/setuptools/' description='Easily download, build, install, upgrade, and uninstall Python packages' email='aliriza.keskin@pardus.org.tr' @@ -9,8 +9,8 @@ maintainer='aliriza' license=('GPLv3') source=("https://pypi.io/packages/source/s/setuptools/setuptools-$version.tar.gz") depends=(python) -makedepends=( ) -sha256sums=('032d42ee9fb536e33087fb66cac5f840eb9391ed05637b3f2a76a7c8fb477936') +makedepends=() +sha256sums=('f36b47402ecde768dbfafc46e8e4207b4360c654f1f3bb84475f0a28628fb19c') uses=() group=(dev.python) arch=('x86_64') diff --git a/dev/python/py3-six/ympbuild b/dev/python/py3-six/ympbuild index effd6f62..5f331ceb 100644 --- a/dev/python/py3-six/ympbuild +++ b/dev/python/py3-six/ympbuild @@ -2,20 +2,20 @@ name='py3-six' release='1' version='1.16.0' -url='https://salsa.debian.org/python-team/packages/six' +url='https://github.com/benjaminp/six' description='Python 2 and 3 compatibility library' email='aliriza.keskin@pardus.org.tr' maintainer='aliriza' license=('GPLv3') -source=("https://salsa.debian.org/python-team/packages/six/-/archive/debian/$version-5/six-debian-$version-5.tar.gz") +source=("https://github.com/benjaminp/six/archive/refs/tags/$version.tar.gz") depends=(python) makedepends=() -md5sums=('bc3e3ae290356f4f6623ce03c9499956') +sha256sums=('af6745f78dceb1ad5107dc6c2d3646c8cb57cf4668ba7b5427145a71a690f60e') group=(dev.python) uses=() arch=('x86_64') -cd six-debian-$version-5 +cd six-$version build(){ python setup.py build diff --git a/dev/python/py3-snowballstemmer/ympbuild b/dev/python/py3-snowballstemmer/ympbuild index 63170699..2507fc7b 100644 --- a/dev/python/py3-snowballstemmer/ympbuild +++ b/dev/python/py3-snowballstemmer/ympbuild @@ -1,7 +1,7 @@ #!/usr/bin/env bash name='py3-snowballstemmer' -release='1' -version='2.2.0' +release='2' +version='3.0.1' url='https://snowballstem.org/' description='Snowball stemming library collection for Python3' email='akarsu@protonmail.com' @@ -11,7 +11,7 @@ license=('BSD') source=("https://pypi.python.org/packages/source/s/snowballstemmer/snowballstemmer-${version}.tar.gz") depends=(python) makedepends=() -md5sums=('4332ddc7bbee0f344a03915b2ad59a54') +sha256sums=('6d5eeeec8e9f84d4d56b847692bacf79bc2c8e90c7f80ca4444ff8b6f2e52895') group=(dev.python) uses=() arch=('x86_64') diff --git a/dev/python/py3-sphinx/ympbuild b/dev/python/py3-sphinx/ympbuild index b61da62c..9514398e 100644 --- a/dev/python/py3-sphinx/ympbuild +++ b/dev/python/py3-sphinx/ympbuild @@ -1,7 +1,7 @@ #!/usr/bin/env bash name='py3-sphinx' -release='2' -version='7.2.2' +release='3' +version='8.2.3' url='https://www.sphinx-doc.org/' description='Python Documentation Generator' email='akarsu@protonmail.com' @@ -10,7 +10,7 @@ license=('BSD-2-Clause') source=("https://github.com/sphinx-doc/sphinx/archive/refs/tags/v${version}.tar.gz") depends=(python py3-babel py3-docutils py3-imagesize py3-jinja py3-packaging py3-pygments py3-requests py3-snowballstemmer) makedepends=(py3-build py3-flit py3-installer) -md5sums=('3885dc10736988363f398b51992d9118') +sha256sums=('94cd09fa065b819dcc40de329441d53710cf51f6857b39ce20840bb2b5d3ec78') group=(dev.python) uses=() arch=('x86_64') @@ -18,7 +18,7 @@ arch=('x86_64') cd "sphinx"-$version build(){ - python -m build --wheel --skip-dependency-check --no-isolation + python -m build --wheel } package(){ diff --git a/dev/python/py3-stemmer/ympbuild b/dev/python/py3-stemmer/ympbuild index fdb623b8..c3c7cee6 100644 --- a/dev/python/py3-stemmer/ympbuild +++ b/dev/python/py3-stemmer/ympbuild @@ -1,17 +1,16 @@ #!/usr/bin/env bash name='py3-stemmer' -release='1' -version='2.2.0.1' +release='2' +version='3.0.0' url='https://github.com/snowballstem/pystemmer' description='String processing language for creating stemming algorithms' email='bayramk@gmail.com' maintainer='bk' license=('GPLv3') source=("https://github.com/snowballstem/pystemmer/archive/refs/tags/v$version.tar.gz") -pyver=$(python -c "import sys; print(str( sys.version_info[0]) +\".\"+ str(sys.version_info[1] ))") -depends=(python"$pyver") +depends=(python) makedepends=() -md5sums=('8e4f6e0373a0571ed34cda2c8bf98d22') +sha256sums=('e00740231deb135855141ef3d568b27c40b34d34e058b775ade6334a5859519f') group=(dev.python) uses=() arch=('x86_64') @@ -23,12 +22,5 @@ build(){ } package(){ - python3 setup.py install --root="${DESTDIR}" --install-lib=/usr/lib64/python3 --optimize=1 --skip-build - pyver=$(python -c "import sys; print(str( sys.version_info[0]) + str(sys.version_info[1] ))") - for ver in 311 310 ; do - if [[ ! -e ${DESTDIR}/usr/lib64/python3/Stemmer.cpython-$ver-$(uname -m)-linux-gnu.so ]] ; then - ln -s Stemmer.cpython-$pyver-$(uname -m)-linux-gnu.so \ - ${DESTDIR}/usr/lib64/python3/Stemmer.cpython-$ver-$(uname -m)-linux-gnu.so - fi - done + python3 setup.py install --root="${DESTDIR}" --optimize=1 --skip-build } diff --git a/dev/python/py3-tinycss2/ympbuild b/dev/python/py3-tinycss2/ympbuild index be8538d4..2dd54cda 100644 --- a/dev/python/py3-tinycss2/ympbuild +++ b/dev/python/py3-tinycss2/ympbuild @@ -1,7 +1,7 @@ #!/usr/bin/env bash name='py3-tinycss2' -release='2' -version='1.3.0' +release='3' +version='1.4.0' url='https://pypi.python.org/pypi/tinycss2' description='Low-level CSS parser for Python' email='akarsu@protonmail.com' @@ -10,7 +10,7 @@ license=('BSD') source=("https://github.com/Kozea/tinycss2/archive/refs/tags/v${version}.tar.gz") depends=(py3-webencodings) makedepends=() -sha256sums=('e085126b6223786cb56dc711d460f7d8a9e425ad93d01bd6d5ecc08ede6bc846') +sha256sums=('c8f0ea1b2bf55ceb5db60a5b4d7c151b584aade43353d2a44e8e55459ea735f4') group=(dev.python) uses=() arch=('x86_64') @@ -24,6 +24,7 @@ build(){ package(){ python -m installer -d "$DESTDIR" dist/*.whl - install -Dm644 LICENSE -t "$DESTDIR"/usr/share/licenses/$name/ + install -Dm644 LICENSE -t "$DESTDIR"/usr/share/licenses/$name/ + mv ${DESTDIR}/usr/lib/python3.*/site-packages ${DESTDIR}/usr/lib/python3 } diff --git a/dev/python/py3-tomli-w/ympbuild b/dev/python/py3-tomli-w/ympbuild index 0daebb3e..de4e9b66 100644 --- a/dev/python/py3-tomli-w/ympbuild +++ b/dev/python/py3-tomli-w/ympbuild @@ -1,7 +1,7 @@ #!/usr/bin/env bash name='py3-tomli-w' -release='1' -version='1.0.0' +release='2' +version='1.2.0' url='https://github.com/hukkin/tomli-w' description="Lil' TOML writer" email='akarsu@protonmail.com' @@ -10,7 +10,7 @@ license=('MIT') source=("https://github.com/hukkin/tomli-w/archive/refs/tags/${version}.zip") depends=() makedepends=() -md5sums=('4417a3788beaa9111855f069b75366a2') +sha256sums=('ea8a98d2f854b193607012c80bec65b490f749a6ae9ed2b105332e67dc8ac6f1') group=(dev.python) uses=() arch=('x86_64') @@ -18,11 +18,12 @@ arch=('x86_64') cd "tomli-w"-$version build(){ - python -m build --wheel --no-isolation + python -m build --wheel } package(){ python -m installer --destdir="${DESTDIR}" dist/*.whl install -Dm 644 LICENSE -t "${DESTDIR}"/usr/share/licenses/python-tomli-w/ + mv ${DESTDIR}/usr/lib/python3.*/site-packages ${DESTDIR}/usr/lib/python3 } diff --git a/dev/python/py3-tomli/ympbuild b/dev/python/py3-tomli/ympbuild index b709b246..1d1ba2fd 100644 --- a/dev/python/py3-tomli/ympbuild +++ b/dev/python/py3-tomli/ympbuild @@ -1,7 +1,7 @@ #!/usr/bin/env bash name='py3-tomli' -release='1' -version='2.0.1' +release='2' +version='2.2.1' url='https://github.com/hukkin/tomli' description="Lil' TOML parser" email='akarsu@protonmail.com' @@ -10,7 +10,7 @@ license=('MIT') source=("https://github.com/hukkin/tomli/archive/refs/tags/${version}.tar.gz") depends=(python) makedepends=(py3-build py3-flit) -md5sums=('b32f504876fd88ea1ca0c2fab4ce8e27') +sha256sums=('3af7c4b571d1ccddaba020c558da0ce5b5e24edc830e478a903d82dc2d9013ae') group=(dev.python) uses=() arch=('x86_64') @@ -23,5 +23,6 @@ build(){ package(){ python3 -m installer -d "$DESTDIR" dist/*.whl + mv ${DESTDIR}/usr/lib/python3.*/site-packages ${DESTDIR}/usr/lib/python3 } diff --git a/dev/python/py3-trove-classifiers/ympbuild b/dev/python/py3-trove-classifiers/ympbuild index 36880503..fe601711 100644 --- a/dev/python/py3-trove-classifiers/ympbuild +++ b/dev/python/py3-trove-classifiers/ympbuild @@ -1,7 +1,7 @@ #!/usr/bin/env bash name='py3-trove-classifiers' -release='5' -version='2024.10.21.16' +release='6' +version='2025.5.9.12' url='https://github.com/pypa/trove-classifiers' description='Canonical source for classifiers on PyPI' email='akarsu@protonmail.com' @@ -10,7 +10,7 @@ license=('Apache-2.0') source=("https://github.com/pypa/trove-classifiers/archive/refs/tags/${version}.tar.gz") depends=(python) makedepends=() -sha256sums=('4c86dbaacda8ca2bee6891dcf24bc1bab2b58a1d5bc36db6d6910bc3488eacf2') +sha256sums=('e2073313aeed13ca9c305ad6cacc2bed0c42a1170ef843f67e1e27c3d98c39c1') group=(dev.python) uses=() arch=('x86_64') @@ -23,6 +23,7 @@ build(){ package(){ python3 -m installer --destdir "${DESTDIR}" dist/*.whl + mv ${DESTDIR}/usr/lib/python3.*/site-packages ${DESTDIR}/usr/lib/python3 } diff --git a/dev/python/py3-tz/ympbuild b/dev/python/py3-tz/ympbuild index 65f5f025..b533e7ee 100644 --- a/dev/python/py3-tz/ympbuild +++ b/dev/python/py3-tz/ympbuild @@ -1,7 +1,7 @@ #!/usr/bin/env bash name='py3-tz' -release='2' -version='2024.1' +release='3' +version='2025.2' url='https://pypi.python.org/pypi/pytz' description='Python3 definitions of world timezone' email='akarsu@protonmail.com' @@ -10,7 +10,7 @@ license=('MIT') source=("https://pypi.python.org/packages/source/p/pytz/pytz-${version}.tar.gz") depends=(python) makedepends=() -sha256sums=('2a29735ea9c18baf14b448846bde5a48030ed267578472d8955cd0e7443a9812') +sha256sums=('360b9e3dbb49a209c21ad61809c7fb453643e048b38924c765813546746e81c3') group=(dev.python) uses=() arch=('x86_64') diff --git a/dev/python/py3-urllib3/ympbuild b/dev/python/py3-urllib3/ympbuild index 437375e5..c6222101 100644 --- a/dev/python/py3-urllib3/ympbuild +++ b/dev/python/py3-urllib3/ympbuild @@ -1,7 +1,7 @@ #!/usr/bin/env bash name='py3-urllib3' -release='1' -version='2.0.3' +release='2' +version='2.5.0' url='https://github.com/urllib3/urllib3' description='HTTP library with thread-safe connection pooling, file post, and more' email='akarsu@protonmail.com' @@ -10,20 +10,23 @@ license=('MIT') source=("https://github.com/urllib3/urllib3/archive/refs/tags/${version}.tar.gz") depends=(python) makedepends=(py3-build py3-installer py3-setuptools py3-sphinx py3-wheel py3-hatchling) -md5sums=('395767051ae262775e44ef11ee05bcfe') +sha256sums=('5ea3e7c3e387e65abe94af551c39c7a207d6bcec7053ae3d2dd643073dffb64b') group=(dev.python) uses=() arch=('x86_64') +export SETUPTOOLS_SCM_PRETEND_VERSION=$version + cd "urllib3"-$version build(){ - python -m build --wheel --no-isolation + python -m build --wheel } package(){ python -m installer --destdir="$DESTDIR" dist/*.whl + mv ${DESTDIR}/usr/lib/python3.*/site-packages ${DESTDIR}/usr/lib/python3 } diff --git a/dev/python/py3-wheel/ympbuild b/dev/python/py3-wheel/ympbuild index a85b023d..847dcb62 100644 --- a/dev/python/py3-wheel/ympbuild +++ b/dev/python/py3-wheel/ympbuild @@ -1,7 +1,7 @@ #!/usr/bin/env bash name='py3-wheel' -release='4' -version='0.43.0' +release='5' +version='0.46.1' url='https://pypi.org/project/wheel/' description='A built-package format for Python' email='parduscix@yandex.ru' @@ -10,7 +10,7 @@ license=('GPLv3') source=("https://github.com/pypa/wheel/archive/refs/tags/${version}.tar.gz") depends=(python) makedepends=(py3-installer py3-flit) -sha256sums=('23060d7cc8afafc2930554624b4bae7d58031830672048622c926675ab91e3b0') +sha256sums=('fec72595437748b92ee9a86cd464936f8902488b1085edb973ec2a6c5a5cb466') group=(dev.python) uses=() arch=('x86_64') @@ -27,5 +27,6 @@ build(){ package(){ python3 -m installer --destdir="$DESTDIR" dist/*.whl + mv ${DESTDIR}/usr/lib/python3.*/site-packages ${DESTDIR}/usr/lib/python3 } diff --git a/dev/python/py3-xapp/ympbuild b/dev/python/py3-xapp/ympbuild index 6f6877c5..d77b4755 100644 --- a/dev/python/py3-xapp/ympbuild +++ b/dev/python/py3-xapp/ympbuild @@ -28,8 +28,7 @@ build(){ } package(){ - meson install -C build --destdir=${DESTDIR} - python -m compileall -d / "$DESTDIR"/usr/lib - python -O -m compileall -d / "$DESTDIR"/usr/lib + meson install -C build + mv ${DESTDIR}/usr/lib/python3.*/site-packages ${DESTDIR}/usr/lib/python3 } diff --git a/dev/python/py3-yaml/ympbuild b/dev/python/py3-yaml/ympbuild index 689c623a..750a6f7b 100644 --- a/dev/python/py3-yaml/ympbuild +++ b/dev/python/py3-yaml/ympbuild @@ -1,7 +1,7 @@ #!/usr/bin/env bash name='py3-yaml' -release='2' -version='6.0.1' +release='3' +version='6.0.2' url='https://github.com/yaml/pyyaml' description='Python3 bindings for YAML' email='aliriza.keskin@pardus.org.tr' @@ -10,7 +10,7 @@ license=('GPLv3') source=("https://github.com/yaml/pyyaml/archive/refs/tags/$version.tar.gz") depends=(libyaml python) makedepends=(py3-wheel py3-setuptools py3-build py3-installer) -sha256sums=('57314c984aaa84318eed00cf5a8365afc49f87954969e295efe2ba99f3b21f7a') +sha256sums=('9377c381ac3fccad8df73d96b5139ef8b1a2c57a0d913e95ab0a2275d66b5caa') group=(dev.python) uses=() arch=('x86_64') diff --git a/dev/python/smartypants/ympbuild b/dev/python/smartypants/ympbuild index 59d60104..cdeb038f 100644 --- a/dev/python/smartypants/ympbuild +++ b/dev/python/smartypants/ympbuild @@ -1,7 +1,7 @@ #!/usr/bin/env bash name='smartypants' -release='1' -version='2.0.1' +release='2' +version='2.0.2' url='https://github.com/leohemsted/smartypants.py/' description='ASCII quote-dot-dash to HTML entity converter' email='bayramk@gmail.com' @@ -10,7 +10,7 @@ license=('GPLv3') source=("https://github.com/leohemsted/smartypants.py/archive/refs/tags/v$version.tar.gz") depends=(python) makedepends=() -md5sums=('27957540f4718e892039b2ed208c78f3') +sha256sums=('560ae7485a27c288f5bd63131f5c3c7b8f0745f50e7c3f85f0bbc65d87799d19') group=(dev.python) uses=() arch=('x86_64') @@ -18,9 +18,10 @@ arch=('x86_64') cd $name.py-$version build(){ - python3 setup.py build + python3 -m build } package(){ - python3 setup.py install --root="${DESTDIR}" --install-lib=/usr/lib64/python3 --optimize=1 --skip-build + python3 -m installer --destdir="$DESTDIR" dist/*.whl + mv ${DESTDIR}/usr/lib/python3.*/site-packages ${DESTDIR}/usr/lib/python3 }