diff options
author | Iyán Méndez Veiga | 2024-05-06 16:26:15 +0200 |
---|---|---|
committer | Iyán Méndez Veiga | 2024-05-06 16:26:15 +0200 |
commit | 09bd346fce8c972c00cf4cf89e3de18a58208af6 (patch) | |
tree | 17441ce4164871f77d772b29a07738c5d44d9716 | |
parent | 243731b9b261b33d4641df3e17c2aa1d4aa09ae1 (diff) | |
download | aur-09bd346fce8c972c00cf4cf89e3de18a58208af6.tar.gz |
upgpkg: python-dlx 1.0.4-7
python 3.12 rebuild
fix license
-rw-r--r-- | .SRCINFO | 12 | ||||
-rw-r--r-- | PKGBUILD | 29 |
2 files changed, 23 insertions, 18 deletions
@@ -1,16 +1,18 @@ pkgbase = python-dlx pkgdesc = Implementation of Donald Knuth's Dancing Links algorithm pkgver = 1.0.4 - pkgrel = 6 - url = https://pypi.org/project/dlx/ + pkgrel = 7 + url = https://github.com/sraaphorst/dlx-python arch = any - license = Apache + license = Apache-2.0 + makedepends = git makedepends = python-build + makedepends = python-flit-scm makedepends = python-installer makedepends = python-setuptools makedepends = python-wheel depends = python - source = dlx-1.0.4.tar.gz::https://files.pythonhosted.org/packages/source/d/dlx/dlx-1.0.4.tar.gz - b2sums = 819c8bea96187dff42c6377200ec8be337a1201367cb33a9c2b3a9b152f1fcb90eb69bd255e3dc164611ac787904c5c5512325b1d0c4e309b0911f9777fd18b1 + source = dlx::git+https://github.com/sraaphorst/dlx-python#commit=bc5529846486509da00ce25b73c8cd736b57c9fa + b2sums = a52f94c9a706ab4c41326e649cc6a3790bf6466a4c99286456a44f1e20c60cfdfc8ed72563d8ac4e1c34d8b63eb16566c35d7889468d9796b7ed9d7f4afdd67c pkgname = python-dlx @@ -1,28 +1,31 @@ # Maintainer: Iyán Méndez Veiga <me (at) iyanmv (dot) com> _pkgname=dlx pkgname=python-dlx +_commit=bc5529846486509da00ce25b73c8cd736b57c9fa pkgver=1.0.4 -pkgrel=6 +pkgrel=7 pkgdesc="Implementation of Donald Knuth's Dancing Links algorithm" -arch=('any') -url="https://pypi.org/project/dlx/" -license=('Apache') -depends=('python') +arch=(any) +url=https://github.com/sraaphorst/dlx-python +license=(Apache-2.0) +depends=(python) makedepends=( - 'python-build' - 'python-installer' - 'python-setuptools' - 'python-wheel' + git + python-build + python-flit-scm + python-installer + python-setuptools + python-wheel ) -source=("${_pkgname}-${pkgver}.tar.gz::https://files.pythonhosted.org/packages/source/${_pkgname::1}/$_pkgname/$_pkgname-$pkgver.tar.gz") -b2sums=('819c8bea96187dff42c6377200ec8be337a1201367cb33a9c2b3a9b152f1fcb90eb69bd255e3dc164611ac787904c5c5512325b1d0c4e309b0911f9777fd18b1') +source=($_pkgname::git+https://github.com/sraaphorst/dlx-python#commit=$_commit) +b2sums=('a52f94c9a706ab4c41326e649cc6a3790bf6466a4c99286456a44f1e20c60cfdfc8ed72563d8ac4e1c34d8b63eb16566c35d7889468d9796b7ed9d7f4afdd67c') build() { - cd "${srcdir}/${_pkgname}-${pkgver}" + cd $_pkgname python -m build --wheel --no-isolation } package() { - cd "${srcdir}/${_pkgname}-${pkgver}" + cd $_pkgname python -m installer --destdir="$pkgdir" dist/*.whl } |