diff options
author | Martin Diehl | 2020-12-16 06:18:23 +0100 |
---|---|---|
committer | Martin Diehl | 2020-12-16 06:18:23 +0100 |
commit | 96197b63ccdb1407b20fea475e27509b4e7fb4a3 (patch) | |
tree | 0c7c4addc8cad2b7c47c819f0d589adee2f3f3f5 | |
download | aur-96197b63ccdb1407b20fea475e27509b4e7fb4a3.tar.gz |
required by python-pyvista
-rw-r--r-- | .SRCINFO | 14 | ||||
-rw-r--r-- | .gitignore | 3 | ||||
-rw-r--r-- | PKGBUILD | 25 |
3 files changed, 42 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..a7d8eb5c23f2 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,14 @@ +pkgbase = python-scooby + pkgdesc = A Great Dane turned Python environment detective + pkgver = 0.5.6 + pkgrel = 1 + url = https://github.com/banesullivan/scooby + arch = any + license = MIT + makedepends = python-setuptools + depends = python + source = https://github.com/banesullivan/scooby/archive/v0.5.6.tar.gz + sha256sums = f8e613825b7a02e7e19f72d3285ff9927545ff9b733c9d8d756cd66740396401 + +pkgname = python-scooby + diff --git a/.gitignore b/.gitignore new file mode 100644 index 000000000000..44f27c04b1e5 --- /dev/null +++ b/.gitignore @@ -0,0 +1,3 @@ +pkg +src +*.tar.* diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..c3593cfd955c --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,25 @@ +# Maintainer: Martin Diehl <aur@martin-diehl.net> + +pkgname=python-scooby +pkgver=0.5.6 +pkgrel=1 +pkgdesc='A Great Dane turned Python environment detective' +arch=('any') +url='https://github.com/banesullivan/scooby' +license=('MIT') +depends=('python') +makedepends=('python-setuptools') +source=("https://github.com/banesullivan/scooby/archive/v${pkgver}.tar.gz") +sha256sums=('f8e613825b7a02e7e19f72d3285ff9927545ff9b733c9d8d756cd66740396401') + +build() { + cd "$srcdir"/scooby-${pkgver} + python setup.py build_ext --inplace + python setup.py build +} + +package() { + cd "$srcdir"/scooby-${pkgver} + python setup.py install --skip-build --root="$pkgdir" --optimize=1 + install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE +} |