[arch-commits] Commit in (4 files)
Felix Yan
felixonmars at archlinux.org
Sat May 25 08:36:23 UTC 2019
Date: Saturday, May 25, 2019 @ 08:36:22
Author: felixonmars
Revision: 469892
addpkg: python-hypothesis-fspaths 0.1.0-1
Added:
python-hypothesis-fspaths/
python-hypothesis-fspaths/repos/
python-hypothesis-fspaths/trunk/
python-hypothesis-fspaths/trunk/PKGBUILD
----------+
PKGBUILD | 30 ++++++++++++++++++++++++++++++
1 file changed, 30 insertions(+)
Added: python-hypothesis-fspaths/trunk/PKGBUILD
===================================================================
--- python-hypothesis-fspaths/trunk/PKGBUILD (rev 0)
+++ python-hypothesis-fspaths/trunk/PKGBUILD 2019-05-25 08:36:22 UTC (rev 469892)
@@ -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