backports/py3-colored: bump pkgrel
This commit is contained in:
parent
5e4808302b
commit
ca399a31cc
1 changed files with 7 additions and 4 deletions
|
@ -2,13 +2,13 @@
|
||||||
pkgname=py3-colored
|
pkgname=py3-colored
|
||||||
_pyname=${pkgname/py3-/}
|
_pyname=${pkgname/py3-/}
|
||||||
pkgver=1.4.4
|
pkgver=1.4.4
|
||||||
pkgrel=2
|
pkgrel=3
|
||||||
pkgdesc="Simple Python library for color and formatting in terminal"
|
pkgdesc="Simple Python library for color and formatting in terminal"
|
||||||
url="https://gitlab.com/dslackw/colored"
|
url="https://gitlab.com/dslackw/colored"
|
||||||
arch="noarch"
|
arch="noarch"
|
||||||
license="MIT"
|
license="MIT"
|
||||||
depends="python3"
|
depends="python3"
|
||||||
makedepends="py3-setuptools"
|
makedepends="py3-setuptools py3-gpep517"
|
||||||
checkdepends="py3-pytest"
|
checkdepends="py3-pytest"
|
||||||
subpackages="$pkgname-pyc"
|
subpackages="$pkgname-pyc"
|
||||||
source="https://gitlab.com/dslackw/colored/-/archive/$pkgver/colored-$pkgver.tar.gz"
|
source="https://gitlab.com/dslackw/colored/-/archive/$pkgver/colored-$pkgver.tar.gz"
|
||||||
|
@ -16,11 +16,14 @@ builddir="$srcdir/$_pyname-$pkgver"
|
||||||
options="!check" # No testsuite
|
options="!check" # No testsuite
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
python3 setup.py build
|
gpep517 build-wheel \
|
||||||
|
--wheel-dir .dist \
|
||||||
|
--output-fd 3 3>&1 >&2
|
||||||
}
|
}
|
||||||
|
|
||||||
package() {
|
package() {
|
||||||
python3 setup.py install --prefix=/usr --root="$pkgdir"
|
gpep517 install-wheel --destdir "$pkgdir" \
|
||||||
|
.dist/*.whl
|
||||||
}
|
}
|
||||||
|
|
||||||
sha512sums="
|
sha512sums="
|
||||||
|
|
Loading…
Reference in a new issue