Skip to content
Snippets Groups Projects
Commit a285d284 authored by Patrycja Rosa's avatar Patrycja Rosa :cat:
Browse files

testing/py3-pyzor: build with gpep517

parent e46e2d5b
No related branches found
No related tags found
No related merge requests found
...@@ -3,25 +3,32 @@ ...@@ -3,25 +3,32 @@
pkgname=py3-pyzor pkgname=py3-pyzor
_pkgname=pyzor _pkgname=pyzor
pkgver=1.0.0 pkgver=1.0.0
pkgrel=10 pkgrel=11
pkgdesc="Python implementation of a spam-blocking networked system that use spam signatures to identify them." pkgdesc="Python implementation of a spam-blocking networked system that use spam signatures to identify them."
url="https://pypi.org/project/pyzor/" url="https://pypi.org/project/pyzor/"
arch="noarch" arch="noarch"
license="GPL-2.0-only" license="GPL-2.0-only"
depends="python3" depends="python3"
makedepends="py3-setuptools" makedepends="py3-setuptools py3-gpep517"
subpackages="$pkgname-pyc" subpackages="$pkgname-pyc"
source="https://files.pythonhosted.org/packages/source/p/$_pkgname/$_pkgname-$pkgver.tar.gz" source="https://files.pythonhosted.org/packages/source/p/$_pkgname/$_pkgname-$pkgver.tar.gz"
builddir="$srcdir"/$_pkgname-$pkgver builddir="$srcdir"/$_pkgname-$pkgver
options="!check" # tests not included
replaces="py-pyzor" # Backwards compatibility replaces="py-pyzor" # Backwards compatibility
provides="py-pyzor=$pkgver-r$pkgrel" # Backwards compatibility provides="py-pyzor=$pkgver-r$pkgrel" # Backwards compatibility
build() { build() {
python3 setup.py build gpep517 build-wheel \
--wheel-dir .dist \
--output-fd 3 3>&1 >&2
} }
package() { package() {
python3 setup.py install --skip-build --root="$pkgdir" gpep517 install-wheel --destdir "$pkgdir" \
.dist/*.whl
} }
sha512sums="5ce22d23dac02f3b14b7e87f1049cdcd06b8b02a0214898bf9946d966e3d5e1e5788d82cdf7883641d0291dcf949483a926989482cdd344460d9f6a8e7182cc5 pyzor-1.0.0.tar.gz"
sha512sums="
5ce22d23dac02f3b14b7e87f1049cdcd06b8b02a0214898bf9946d966e3d5e1e5788d82cdf7883641d0291dcf949483a926989482cdd344460d9f6a8e7182cc5 pyzor-1.0.0.tar.gz
"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment