[arch-commits] Commit in python-hypothesis-auto/repos/community-any (2 files)

Felix Yan felixonmars at gemini.archlinux.org
Mon Jan 3 20:53:51 UTC 2022


    Date: Monday, January 3, 2022 @ 20:53:50
  Author: felixonmars
Revision: 1092578

archrelease: copy trunk to community-any

Added:
  python-hypothesis-auto/repos/community-any/PKGBUILD
    (from rev 1092577, python-hypothesis-auto/trunk/PKGBUILD)
Deleted:
  python-hypothesis-auto/repos/community-any/PKGBUILD

----------+
 PKGBUILD |   71 +++++++++++++++++++++++++++----------------------------------
 1 file changed, 32 insertions(+), 39 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2022-01-03 20:53:43 UTC (rev 1092577)
+++ PKGBUILD	2022-01-03 20:53:50 UTC (rev 1092578)
@@ -1,39 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgname=python-hypothesis-auto
-pkgver=1.1.4
-_commit=4ed588ab631d6c44c8959334a3425a8c0d207eff
-pkgrel=5
-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')
-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
-}
-
-check() {
-  cd hypothesis-auto-$_commit
-  python -m pytest
-}
-
-package() {
-  cd hypothesis-auto-$_commit
-  python setup.py install --root="$pkgdir" --optimize=1
-
-  install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
-}

Copied: python-hypothesis-auto/repos/community-any/PKGBUILD (from rev 1092577, python-hypothesis-auto/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2022-01-03 20:53:50 UTC (rev 1092578)
@@ -0,0 +1,32 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-hypothesis-auto
+pkgver=1.1.4
+_commit=4ed588ab631d6c44c8959334a3425a8c0d207eff
+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-pyproject2setuppy')
+checkdepends=('python-pytest')
+source=("https://github.com/timothycrosley/hypothesis-auto/archive/$_commit/$pkgname-$_commit.tar.gz")
+sha512sums=('96a9b541dedcbe20eae242201ad2d57366f61ab60aa388ad67102a18bd1fdd916f3a45cee67ff7021dc4358707457f6f607e6a0666b85005150d09e398bfda58')
+
+build() {
+  cd hypothesis-auto-$_commit
+  python -m pyproject2setuppy build
+}
+
+check() {
+  cd hypothesis-auto-$_commit
+  python -m pytest
+}
+
+package() {
+  cd hypothesis-auto-$_commit
+  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