backports/py3-microdata: bump pkgrel
This commit is contained in:
parent
7380fdd1ac
commit
8f83341ebe
1 changed files with 9 additions and 4 deletions
|
@ -4,15 +4,14 @@ pkgname=py3-microdata
|
|||
#_pkgreal is used by apkbuild-pypi to find modules at PyPI
|
||||
_pkgreal=microdata
|
||||
pkgver=0.8.0
|
||||
pkgrel=1
|
||||
pkgrel=0
|
||||
pkgdesc="html5lib extension for parsing microdata"
|
||||
url="https://pypi.python.org/project/microdata"
|
||||
license="CC0-1.0"
|
||||
arch="noarch"
|
||||
depends="py3-html5lib"
|
||||
checkdepends="python3-dev"
|
||||
makedepends="py3-setuptools py3-gpep517 py3-wheel"
|
||||
source="$pkgname-$pkgver.tar.gz::https://pypi.io/packages/source/m/microdata/microdata-$pkgver.tar.gz"
|
||||
source="$pkgname-$pkgver.tar.gz::https://github.com/edsu/microdata/archive/refs/tags/v$pkgver.tar.gz"
|
||||
builddir="$srcdir/$_pkgreal-$pkgver"
|
||||
subpackages="$pkgname-pyc"
|
||||
|
||||
|
@ -22,11 +21,17 @@ build() {
|
|||
--output-fd 3 3>&1 >&2
|
||||
}
|
||||
|
||||
check() {
|
||||
python3 -m venv --clear --without-pip --system-site-packages .testenv
|
||||
.testenv/bin/python3 -m installer .dist/*.whl
|
||||
.testenv/bin/python3 setup.py test
|
||||
}
|
||||
|
||||
package() {
|
||||
python3 -m installer -d "$pkgdir" \
|
||||
.dist/*.whl
|
||||
}
|
||||
|
||||
sha512sums="
|
||||
85ce750f11960e4bcae1cd7f7babbb43e47ad2e0133cc66fb8abb153b1471296b11dc642bee91059f89b45da363fcdd10cfe3770b43d3e7d4d82ff10ab700743 py3-microdata-0.8.0.tar.gz
|
||||
e48c8c267f595faec97397fae470a3aa1f4f33d9f4ea7d186f07b104166b373ea768db7d73423aedd28af3e310f6b9fa268d946420c6aed9676d15f38396b07e py3-microdata-0.8.0.tar.gz
|
||||
"
|
||||
|
|
Loading…
Reference in a new issue