[arch-commits] Commit in python-hypothesis-auto/trunk (PKGBUILD)
Felix Yan
felixonmars at gemini.archlinux.org
Mon Jan 3 20:53:43 UTC 2022
Date: Monday, January 3, 2022 @ 20:53:43
Author: felixonmars
Revision: 1092577
upgpkg: python-hypothesis-auto 1.1.4-6: switch to pyproject2setuppy
Modified:
python-hypothesis-auto/trunk/PKGBUILD
----------+
PKGBUILD | 15 ++++-----------
1 file changed, 4 insertions(+), 11 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2022-01-03 20:46:59 UTC (rev 1092576)
+++ PKGBUILD 2022-01-03 20:53:43 UTC (rev 1092577)
@@ -3,27 +3,20 @@
pkgname=python-hypothesis-auto
pkgver=1.1.4
_commit=4ed588ab631d6c44c8959334a3425a8c0d207eff
-pkgrel=5
+pkgrel=6
pkgdesc="Extends Hypothesis to add fully automatic testing of type annotated functions"
url="https://github.com/timothycrosley/hypothesis-auto"
license=('MIT')
arch=('any')
depends=('python-pydantic' 'python-hypothesis')
-makedepends=('python-dephell')
+makedepends=('python-pyproject2setuppy')
checkdepends=('python-pytest')
source=("https://github.com/timothycrosley/hypothesis-auto/archive/$_commit/$pkgname-$_commit.tar.gz")
sha512sums=('96a9b541dedcbe20eae242201ad2d57366f61ab60aa388ad67102a18bd1fdd916f3a45cee67ff7021dc4358707457f6f607e6a0666b85005150d09e398bfda58')
-prepare() {
- cd hypothesis-auto-$_commit
- # poetry-generated setup.py are fatally broken, see:
- # https://github.com/sdispater/poetry/issues/866
- dephell deps convert --from pyproject.toml --to setup.py
-}
-
build() {
cd hypothesis-auto-$_commit
- python setup.py build
+ python -m pyproject2setuppy build
}
check() {
@@ -33,7 +26,7 @@
package() {
cd hypothesis-auto-$_commit
- python setup.py install --root="$pkgdir" --optimize=1
+ python -m pyproject2setuppy install --root="$pkgdir" --optimize=1
install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
}
More information about the arch-commits
mailing list