[arch-commits] Commit in python-purl/trunk (PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Sun May 16 15:41:16 UTC 2021
Date: Sunday, May 16, 2021 @ 15:41:16
Author: felixonmars
Revision: 935869
upgpkg: python-purl 1.6-1
Modified:
python-purl/trunk/PKGBUILD
----------+
PKGBUILD | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2021-05-16 15:41:12 UTC (rev 935868)
+++ PKGBUILD 2021-05-16 15:41:16 UTC (rev 935869)
@@ -1,8 +1,8 @@
# Maintainer: Felix Yan <felixonmars at archlinux.org>
pkgname=python-purl
-pkgver=1.5
-pkgrel=6
+pkgver=1.6
+pkgrel=1
pkgdesc="An immutable URL class for easy URL-building and manipulation"
arch=('any')
license=('MIT')
@@ -9,9 +9,9 @@
url="https://github.com/codeinthehole/purl"
depends=('python-six')
makedepends=('python-setuptools')
-checkdepends=('python-nose')
+checkdepends=('python-pytest')
source=("https://github.com/codeinthehole/purl/archive/$pkgver/$pkgname-$pkgver.tar.gz")
-sha512sums=('c034e563d25f4270d4aa9731e87df23203a1c6fc09d2df60fd6038e88c17341e2b30b04a9fba177a04a2552ce3ee0f2d9e34bf4aad6675eb23d2c7bd047d3813')
+sha512sums=('293079e9e15ac7e1669ea534ea8ac3aea92ebc1a18b33fc15e135e241da9c5612978946deca8fe3e53b39004ee33393317901ed3dfe053be12399591050dd9cd')
build() {
cd purl-$pkgver
@@ -20,11 +20,11 @@
check() {
cd purl-$pkgver
- python setup.py nosetests
+ python -m pytest
}
package() {
cd purl-$pkgver
python setup.py install --root="$pkgdir" --optimize=1
- install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname
+ install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
}
More information about the arch-commits
mailing list