[arch-commits] Commit in python-hypothesis-fspaths/repos (2 files)

Felix Yan felixonmars at archlinux.org
Sat May 25 17:48:37 UTC 2019


    Date: Saturday, May 25, 2019 @ 17:48:36
  Author: felixonmars
Revision: 470733

archrelease: copy trunk to community-any

Added:
  python-hypothesis-fspaths/repos/community-any/
  python-hypothesis-fspaths/repos/community-any/PKGBUILD
    (from rev 470732, python-hypothesis-fspaths/trunk/PKGBUILD)

----------+
 PKGBUILD |   30 ++++++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)

Copied: python-hypothesis-fspaths/repos/community-any/PKGBUILD (from rev 470732, python-hypothesis-fspaths/trunk/PKGBUILD)
===================================================================
--- community-any/PKGBUILD	                        (rev 0)
+++ community-any/PKGBUILD	2019-05-25 17:48:36 UTC (rev 470733)
@@ -0,0 +1,30 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-hypothesis-fspaths
+pkgver=0.1.0
+pkgrel=2
+pkgdesc="Hypothesis extension for generating filesystem paths"
+url="https://github.com/lazka/hypothesis-fspaths"
+license=('MIT')
+arch=('any')
+depends=('python-hypothesis')
+makedepends=('python-setuptools' 'python-pytest-runner')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/lazka/hypothesis-fspaths/archive/v$pkgver.tar.gz")
+sha512sums=('26c6b347e2f4123239f2f1e64346b9a5162b8a3ae993b498d9f5f7edf5dbc2007906b7fcb3423b5906423ed7e3fd2d7e67049e7e1319e9f6646d80c06d7941c4')
+
+build() {
+  cd hypothesis-fspaths-$pkgver
+  python setup.py build
+}
+
+check() {
+  cd hypothesis-fspaths-$pkgver
+  python setup.py pytest
+}
+
+package() {
+  cd hypothesis-fspaths-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1
+
+  install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+}



More information about the arch-commits mailing list