[arch-commits] Commit in python-hypothesmith/trunk (PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Sun Nov 15 10:46:50 UTC 2020
Date: Sunday, November 15, 2020 @ 10:46:50
Author: felixonmars
Revision: 754391
upgpkg: python-hypothesmith 0.1.7-1
Modified:
python-hypothesmith/trunk/PKGBUILD
----------+
PKGBUILD | 15 +++++++--------
1 file changed, 7 insertions(+), 8 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2020-11-15 10:46:36 UTC (rev 754390)
+++ PKGBUILD 2020-11-15 10:46:50 UTC (rev 754391)
@@ -1,9 +1,8 @@
# Maintainer: Felix Yan <felixonmars at archlinux.org>
pkgname=python-hypothesmith
-pkgver=0.1.6
-_commit=40947c2e590f06ea5f3b88c6e75d8a98e9443c63
-pkgrel=3
+pkgver=0.1.7
+pkgrel=1
pkgdesc="Hypothesis strategies for generating Python programs, something like CSmith"
url="https://github.com/Zac-HD/hypothesmith"
license=('MPL')
@@ -11,20 +10,20 @@
depends=('python-hypothesis' 'python-lark-parser' 'python-libcst')
makedepends=('python-setuptools')
checkdepends=('python-black' 'python-parso' 'python-pytest-cov')
-source=("https://github.com/Zac-HD/hypothesmith/archive/$_commit/$pkgname-$_commit.tar.gz")
-sha512sums=('c93341aaa3397c46331474b6b5b48efab1b50a8cf4e7359b77fa60c9e4952341fc0e8a8c3becca44599ef9b5ed05748072a0022ba79def82a2b78e0dd44e165d')
+source=("https://pypi.io/packages/source/h/hypothesmith/hypothesmith-$pkgver.tar.gz")
+sha512sums=('2cd24ad00489c086f9ed687ba3824216628d66c7f3eac7dc36f13117110d9a8f9e791a4be0ee7987aa1bd04d6593ccff000d3e6cc7776b905dfdda79ce20cb71')
build() {
- cd hypothesmith-$_commit
+ cd hypothesmith-$pkgver
python setup.py build
}
check() {
- cd hypothesmith-$_commit
+ cd hypothesmith-$pkgver
PYTHONPATH="$PWD/build/lib" pytest
}
package() {
- cd hypothesmith-$_commit
+ cd hypothesmith-$pkgver
python setup.py install --root="$pkgdir" --optimize=1
}
More information about the arch-commits
mailing list