diff options
-rw-r--r-- | .SRCINFO | 8 | ||||
-rw-r--r-- | PKGBUILD | 13 |
2 files changed, 11 insertions, 10 deletions
@@ -1,6 +1,6 @@ pkgbase = python-crc pkgdesc = Library and CLI to calculate and verify all kinds of CRC checksums - pkgver = 6.1.1 + pkgver = 7.0.0 pkgrel = 1 url = https://github.com/Nicoretti/crc arch = any @@ -9,8 +9,10 @@ pkgbase = python-crc makedepends = python-installer makedepends = python-wheel depends = python - source = https://files.pythonhosted.org/packages/34/d6/8f8d6ed8d8e71ad2f538058f2608dfed0312ca8a95c56c52b44fa99368fb/crc-6.1.1.tar.gz - sha256sums = 934085e4128a9d3079df70b70bca330e6d298c8a2191899903272f4e53f3220d + depends = python-poetry + source = https://github.com/Nicoretti/crc/releases/download/7.0.0/crc-7.0.0.tar.gz + sha256sums = b9fc521042167f2b59d9183ce27acc0897e4a17748421e8b304ccdf7ebf4280a pkgname = python-crc depends = python + depends = python-poetry @@ -3,25 +3,24 @@ pkgname='python-crc' _module='crc' -_src_folder='crc-6.1.1' -pkgver='6.1.1' +pkgver='7.0.0' pkgrel=1 pkgdesc="Library and CLI to calculate and verify all kinds of CRC checksums" url="https://github.com/Nicoretti/crc" -depends=('python') +depends=('python' 'python-poetry') makedepends=('python-build' 'python-installer' 'python-wheel') license=('custom:BSD License') arch=('any') -source=("https://files.pythonhosted.org/packages/34/d6/8f8d6ed8d8e71ad2f538058f2608dfed0312ca8a95c56c52b44fa99368fb/crc-6.1.1.tar.gz") -sha256sums=('934085e4128a9d3079df70b70bca330e6d298c8a2191899903272f4e53f3220d') +source=("https://github.com/Nicoretti/crc/releases/download/${pkgver}/${_module}-${pkgver}.tar.gz") +sha256sums=('b9fc521042167f2b59d9183ce27acc0897e4a17748421e8b304ccdf7ebf4280a') build() { - cd "${srcdir}/${_src_folder}" + cd "${srcdir}/${_module}-${pkgver}" python -m build --wheel --no-isolation } package() { depends+=() - cd "${srcdir}/${_src_folder}" + cd "${srcdir}/${_module}-${pkgver}" python -m installer --destdir="${pkgdir}" dist/*.whl } |