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

Felix Yan felixonmars at archlinux.org
Sat May 25 08:36:55 UTC 2019


    Date: Saturday, May 25, 2019 @ 08:36:55
  Author: felixonmars
Revision: 469893

archrelease: copy trunk to community-x86_64

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

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

Copied: python-hypothesis-fspaths/repos/community-x86_64/PKGBUILD (from rev 469892, python-hypothesis-fspaths/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD	                        (rev 0)
+++ community-x86_64/PKGBUILD	2019-05-25 08:36:55 UTC (rev 469893)
@@ -0,0 +1,30 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-hypothesis-fspaths
+pkgver=0.1.0
+pkgrel=1
+pkgdesc="Hypothesis extension for generating filesystem paths"
+url="https://github.com/lazka/hypothesis-fspaths"
+license=('MIT')
+arch=('x86_64')
+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