diff --git a/dev/python/py3-mako/ympbuild b/dev/python/py3-mako/ympbuild index 20f5ea76..00bc9484 100644 --- a/dev/python/py3-mako/ympbuild +++ b/dev/python/py3-mako/ympbuild @@ -1,22 +1,22 @@ #!/usr/bin/env bash name='py3-mako' -release='2' -version='1.3.2' +release='3' +version='1.3.5' +_version='1_3_5' 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://files.pythonhosted.org/packages/d4/1b/71434d9fa9be1ac1bc6fb5f54b9d41233be2969f16be759766208f49f072/Mako-${version}.tar.gz") -#source=("https://files.pythonhosted.org/packages/05/5f/2ba6e026d33a0e6ddc1dddf9958677f76f5f80c236bd65309d280b166d3e/Mako-${version}.tar.gz") +source=("https://github.com/sqlalchemy/mako/archive/refs/tags/rel_${_version}.tar.gz") depends=(python py3-markupsafe) makedepends=() -md5sums=('0500a3df18f02c9e53fe3a9314c1a1ae') +sha256sums=('abaf7d76e50d92ce6218a8437ea6ef93905598050099eb125c37dc55a5fffe32') group=(dev.python) uses=() arch=('x86_64') -cd Mako-$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 8a9adf7e..54c70589 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='2' -version='3.5.1' +release='3' +version='3.6' url='https://github.com/Python-Markdown/markdown' description='A Python implementation of John Gruber’s Markdown with Extension support.' email='parduscix@yandex.ru' @@ -9,8 +9,8 @@ maintainer='sulincix' license=('GPLv3') source=("https://github.com/Python-Markdown/markdown/archive/refs/tags/$version.tar.gz") depends=(python) -makedepends=() -md5sums=('cf0cb1e79621a55fd443cfe4497659e2') +makedepends=(py3-build py3-installer py3-setuptools py3-wheel) +sha256sums=('f65f3867f967b4b0ea4acd951bb7f0d9cb4d033c6fc28847a7eeb4d9fe242844') group=(dev.python) uses=() arch=('x86_64') diff --git a/dev/python/py3-markupsafe/ympbuild b/dev/python/py3-markupsafe/ympbuild index 9a3a170e..b0436f31 100644 --- a/dev/python/py3-markupsafe/ympbuild +++ b/dev/python/py3-markupsafe/ympbuild @@ -1,21 +1,21 @@ #!/usr/bin/env bash name='py3-markupsafe' -release='1' -version='2.1.2' +release='2' +version='2.1.5' url='https://pypi.org/project/MarkupSafe' description='Safely add untrusted strings to HTML/XML markup.' email='aliriza.keskin@pardus.org.tr' maintainer='aliriza' license=('GPLv3') -source=("https://files.pythonhosted.org/packages/95/7e/68018b70268fb4a2a605e2be44ab7b4dd7ce7808adae6c5ef32e34f4b55a/MarkupSafe-${version}.tar.gz") +source=("https://github.com/pallets/markupsafe/archive/refs/tags/${version}.tar.gz") depends=(python) -makedepends=() -md5sums=('02f337b98aef11bd0fee9c5ae860173b') +makedepends=(py3-build py3-installer py3-setuptools py3-wheel) +sha256sums=('307f63295d17f178b7d3af5968fb828e34086d5d66fec505b630a1e5f5b3328b') group=(dev.python) uses=() arch=('x86_64') -cd MarkupSafe-$version +cd markupsafe-$version build(){ python3 setup.py build diff --git a/dev/python/py3-packaging/ympbuild b/dev/python/py3-packaging/ympbuild index fd5e8eea..18f46aba 100644 --- a/dev/python/py3-packaging/ympbuild +++ b/dev/python/py3-packaging/ympbuild @@ -1,16 +1,16 @@ #!/usr/bin/env bash name='py3-packaging' -release='2' -version='23.2' +release='3' +version='24.0' url='https://pypi.org/project/packaging' description='Core utilities for Python3 packages' -email='akarsu@protonmail.com' -maintainer='akarsu' +email='brkt8khn@gmail.com' +maintainer='brkt8khn' license=('Apache-2.0 AND BSD-2-Clause') source=("https://github.com/pypa/packaging/archive/refs/tags/${version}.tar.gz") depends=(python) -makedepends=(py3-parsing) -md5sums=('0f7bc51196160ee850df25ff7f0f603a') +makedepends=(py3-build py3-installer) +sha256sums=('1bf35cf2c2be982f2ae6c905760ae19cb744fadbf56269f2e54f7bdcef64d291') group=(dev.python) uses=() arch=('x86_64') diff --git a/dev/python/py3-pam/ympbuild b/dev/python/py3-pam/ympbuild index 90efa906..b91298ea 100644 --- a/dev/python/py3-pam/ympbuild +++ b/dev/python/py3-pam/ympbuild @@ -4,13 +4,13 @@ release='1' version='2.0.2' url='https://github.com/FirefighterBlu3/python-pam' description='A Python interface to the PAM library' -email='akarsu@protonmail.com' -maintainer='akarsu' +email='brkt8khn@gmail.com' +maintainer='brkt8khn' license=('MIT') source=("https://github.com/FirefighterBlu3/python-pam/archive/refs/tags/v${version}.tar.gz") depends=(python py3-six) -makedepends=() -md5sums=('928b13bf7377315f9a13f7baf6c6bf08') +makedepends=(py3-build py3-installer py3-setuptools py3-wheel) +sha256sums=('23f5fd680b43d9dc8c96061c2c855f7c4758ee29c5d9f3cc469b558a0afd558b') group=(dev.python) uses=() arch=('x86_64') diff --git a/dev/python/py3-parsing/ympbuild b/dev/python/py3-parsing/ympbuild index 54b9d691..17ea0841 100644 --- a/dev/python/py3-parsing/ympbuild +++ b/dev/python/py3-parsing/ympbuild @@ -1,16 +1,16 @@ #!/usr/bin/env bash name='py3-parsing' -release='1' -version='3.0.9' +release='2' +version='3.1.2' url='https://pypi.org/project/pyparsing/' description='Python library for creating PEG parsers' email='parduscix@yandex.ru' maintainer='sulincix' license=('GPLv3') -source=("https://files.pythonhosted.org/packages/71/22/207523d16464c40a0310d2d4d8926daffa00ac1f5b1576170a32db749636/pyparsing-3.0.9.tar.gz") +source=("https://github.com/pyparsing/pyparsing/archive/refs/tags/${version}.tar.gz") depends=(python) -makedepends=() -md5sums=('fadc2f3bf5872bf6310576a86c3566e0') +makedepends=(py3-build py3-installer py3-flit) +sha256sums=('a8a6b7db8b837566884b6c5d8d24bf627f85b72c8abce1338e4d7ffe1a88473e') group=(dev.python) uses=() arch=('x86_64') diff --git a/dev/python/py3-pathspec/ympbuild b/dev/python/py3-pathspec/ympbuild index fc171913..3524815c 100644 --- a/dev/python/py3-pathspec/ympbuild +++ b/dev/python/py3-pathspec/ympbuild @@ -4,13 +4,13 @@ release='2' version='0.12.1' url='https://github.com/cpburnz/python-path-specification' description='Utility library for gitignore style pattern matching of file paths' -email='akarsu@protonmail.com' -maintainer='akarsu' +email='brkt8khn@gmail.com' +maintainer='brkt8khn' license=('MPL-2.0') source=("https://github.com/cpburnz/python-pathspec/archive/refs/tags/v${version}.tar.gz") depends=(python) makedepends=(py3-build py3-flit py3-installer py3-wheel) -md5sums=('615333a7a673fd3105c65048b5bbf2cc') +sha256sums=('dd47a400b58c965c93e1ee6723b8ac562ade44ebfcc12421075ebc8dbe7030a7') group=(dev.python) uses=() arch=('x86_64') diff --git a/dev/python/py3-pexpect/ympbuild b/dev/python/py3-pexpect/ympbuild index ce18a5f9..057eb7f1 100644 --- a/dev/python/py3-pexpect/ympbuild +++ b/dev/python/py3-pexpect/ympbuild @@ -4,13 +4,13 @@ release='2' version='4.9' url='http://pexpect.readthedocs.org/en/stable' description='Make Python a better tool for controlling and automating other programs' -email='akarsu@protonmail.com' -maintainer='akarsu' +email='brkt8khn@gmail.com' +maintainer='brkt8khn' license=('MIT') source=("https://github.com/pexpect/pexpect/archive/refs/tags/${version}.tar.gz") depends=(python py3-ptyprocess) -makedepends=() -md5sums=('c438edc94eba0e87307d951560856f0a') +makedepends=(py3-setuptools) +sha256sums=('13756b834dba0adf7603be77d943cc427011983ecd7c58b59b9bf122a1063e40') group=(dev.python) uses=() arch=('x86_64') diff --git a/dev/python/py3-pillow/ympbuild b/dev/python/py3-pillow/ympbuild index b2048679..3b1a6519 100644 --- a/dev/python/py3-pillow/ympbuild +++ b/dev/python/py3-pillow/ympbuild @@ -1,16 +1,16 @@ #!/usr/bin/env bash name='py3-pillow' -release='4' -version='10.2.0' +release='5' +version='10.3.0' url='https://python-pillow.org/' description='Python Imaging Library' -email='akarsu@protonmail.com' -maintainer='akarsu' +email='brkt8khn@gmail.com' +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) -md5sums=('5d3366f6d917283802e6d2aef286d423') +sha256sums=('5a2f1a812237bf9bd57f283422f46ca97a1c3d43d5f67b9bf8a0d499c4b97c85') group=(dev.python) uses=() arch=('x86_64') diff --git a/dev/python/py3-setuptools-scm/ympbuild b/dev/python/py3-setuptools-scm/ympbuild new file mode 100644 index 00000000..0335a0ed --- /dev/null +++ b/dev/python/py3-setuptools-scm/ympbuild @@ -0,0 +1,28 @@ +#!/usr/bin/env bash +name='py3-setuptools-scm' +release='1' +version='8.1.0' +url='https://github.com/pypa/setuptools_scm' +description='Handles managing your python package versions in scm metadata' +email='brkt8khn@gmail.com' +maintainer='brkt8khn' +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') +uses=() +group=(dev.python) +arch=('x86_64') + + +cd setuptools_scm-$version + +build(){ + python3 -m build --wheel --skip-dependency-check --no-isolation +} + +package(){ + python3 -m installer --destdir="$DESTDIR" dist/*.whl +} +