[arch-commits] Commit in python-pyct/trunk (PKGBUILD)
Bruno Pagani
archange at archlinux.org
Mon Oct 12 13:08:12 UTC 2020
Date: Monday, October 12, 2020 @ 13:08:11
Author: archange
Revision: 723627
upgpkg: python-pyct 0.4.8-1
Also enable tests.
Modified:
python-pyct/trunk/PKGBUILD
----------+
PKGBUILD | 14 ++++++++++----
1 file changed, 10 insertions(+), 4 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2020-10-12 12:41:09 UTC (rev 723626)
+++ PKGBUILD 2020-10-12 13:08:11 UTC (rev 723627)
@@ -2,16 +2,17 @@
_pkg=pyct
pkgname=python-${_pkg}
-pkgver=0.4.6
-pkgrel=3
+pkgver=0.4.8
+pkgrel=1
pkgdesc="Python packaging Common Tasks"
arch=(any)
url="https://github.com/pyviz-dev/pyct"
license=(BSD)
depends=(python-param)
-makedepends=(python-setuptools python-param)
+makedepends=(python-setuptools)
+checkdepends=(python-pytest python-requests python-yaml)
source=(https://files.pythonhosted.org/packages/source/${_pkg::1}/${_pkg}/${_pkg}-${pkgver}.tar.gz)
-sha256sums=('df7b2d29f874cabdbc22e4f8cba2ceb895c48aa33da4e0fe679e89873e0a4c6e')
+sha256sums=('23d7525b5a1567535c093aea4b9c33809415aa5f018dd77f6eb738b1226df6f7')
build() {
cd ${_pkg}-${pkgver}
@@ -18,6 +19,11 @@
python setup.py build
}
+check() {
+ cd ${_pkg}-${pkgver}
+ pytest pyct -v --pyargs
+}
+
package() {
cd ${_pkg}-${pkgver}
python setup.py install --prefix=/usr --root="${pkgdir}" --skip-build --optimize=1
More information about the arch-commits
mailing list