summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Ellison2016-01-22 16:09:42 -0500
committerMatthew Ellison2016-01-22 16:09:42 -0500
commit019e8c24510a794ea8e085538f4e44755313c87b (patch)
tree3b23db083025baf1032be88f3230e70655229599
downloadaur-019e8c24510a794ea8e085538f4e44755313c87b.tar.gz
Initial Package
-rw-r--r--.SRCINFO16
-rw-r--r--PKGBUILD24
2 files changed, 40 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..e5259111898
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,16 @@
+# Generated by mksrcinfo v8
+# Fri Jan 22 21:09:35 UTC 2016
+pkgbase = python-nsenter
+ pkgdesc = Small context manager for entering Linux kernel namespaces.
+ pkgver = 0.2
+ pkgrel = 1
+ url = https://pypi.python.org/pypi/nsenter
+ arch = any
+ license = Apache
+ makedepends = python-setuptools
+ depends = python
+ source = https://pypi.python.org/packages/source/n/nsenter/nsenter-0.2.tar.gz
+ sha256sums = 876a18cb03de85948e4cd72fd4cfda4879561b7264f5722603f6437d452a25cb
+
+pkgname = python-nsenter
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..927696b7931
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,24 @@
+# Maintainer: Matthew Ellison <matt+aur@arroyonetworks.com>
+
+_pkgname='nsenter'
+pkgname="python-${_pkgname}"
+pkgver=0.2
+pkgrel=1
+pkgdesc='Small context manager for entering Linux kernel namespaces.'
+arch=('any')
+url='https://pypi.python.org/pypi/nsenter'
+license=('Apache')
+depends=('python')
+makedepends=('python-setuptools')
+source=("https://pypi.python.org/packages/source/n/nsenter/nsenter-${pkgver}.tar.gz")
+sha256sums=('876a18cb03de85948e4cd72fd4cfda4879561b7264f5722603f6437d452a25cb')
+
+check() {
+ cd "${srcdir}/${_pkgname}-${pkgver}"
+ python setup.py check
+}
+
+package() {
+ cd "${srcdir}/${_pkgname}-${pkgver}"
+ python setup.py install --root "${pkgdir}" --optimize=1
+}