summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorSven-Hendrik Haase2016-06-28 01:52:27 +0200
committerSven-Hendrik Haase2016-06-28 01:52:27 +0200
commite4a1efa32c0b35ae4b1dd8cae89e9b98d7e72aac (patch)
tree7a2faeb1e1d565ac5efbe5bc1ad0ad1c57b0a4b3
downloadaur-e4a1efa32c0b35ae4b1dd8cae89e9b98d7e72aac.tar.gz
Push python-requirements-detector
-rw-r--r--.SRCINFO14
-rw-r--r--PKGBUILD27
2 files changed, 41 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..ae15ff1182c
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,14 @@
+pkgbase = python-requirements-detector
+ pkgdesc = A library that can be used to retrieve program settings from a variety of sources
+ pkgver = 0.4.1
+ pkgrel = 1
+ url = https://github.com/landscapeio/requirements-detector
+ arch = any
+ license = MIT
+ makedepends = python-setuptools
+ depends = python
+ source = https://github.com/landscapeio/requirements-detector/archive/0.4.1.tar.gz
+ md5sums = 67a96af759662d842a33492337c6fba1
+
+pkgname = python-requirements-detector
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..09a8086c1c9
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,27 @@
+# Maintainer: Sven-Hendrik Haase <sh@lutzhaase.com>
+_pkgname=requirements-detector
+pkgname=python-requirements-detector
+pkgver=0.4.1
+pkgrel=1
+pkgdesc="A library that can be used to retrieve program settings from a variety of sources"
+arch=('any')
+url="https://github.com/landscapeio/requirements-detector"
+license=('MIT')
+depends=('python')
+makedepends=('python-setuptools')
+source=(https://github.com/landscapeio/requirements-detector/archive/${pkgver}.tar.gz)
+md5sums=('67a96af759662d842a33492337c6fba1')
+
+build() {
+ cd "${_pkgname}-${pkgver}"
+
+ python setup.py build
+}
+
+package() {
+ cd "${_pkgname}-${pkgver}"
+
+ python setup.py install --prefix="/usr" --root="${pkgdir}" --optimize=1
+ install -Dm755 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}"/LICENSE
+}
+# vim:set ts=2 sw=2 et: