summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorLain Musgrove2021-01-17 19:59:13 -0800
committerLain Musgrove2021-01-17 19:59:13 -0800
commit2070ea64bcba90437c266e20fafc826d6733264f (patch)
tree6e5dc2a00a739cb4e488ec71b601e83541a3d398
downloadaur-2070ea64bcba90437c266e20fafc826d6733264f.tar.gz
Initial commit.
-rw-r--r--.SRCINFO15
-rw-r--r--PKGBUILD25
2 files changed, 40 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..f148560ad5f
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,15 @@
+pkgbase = python-xeno
+ pkgdesc = The Python dependency injector from outer space.
+ pkgver = 4.9.1
+ pkgrel = 1
+ url = https://github.com/lainproliant/xeno
+ arch = any
+ license = BSD
+ makedepends = python-setuptools
+ depends = python
+ source = https://files.pythonhosted.org/packages/source/x/xeno/xeno-4.9.1.tar.gz
+ sha256sums = 34e3e39d221b7331877cbe614d9fc14c4c124ee07a43da9355e73adba7dde41b
+
+pkgname = python-xeno
+ depends = python
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..e9cd533875c
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,25 @@
+# Maintainer: Lain Musgrove <lain.proliant@gmail.com>
+pkgbase='python-xeno'
+pkgname=('python-xeno')
+_module='xeno'
+pkgver='4.9.1'
+pkgrel=1
+pkgdesc="The Python dependency injector from outer space."
+url="https://github.com/lainproliant/xeno"
+depends=('python')
+makedepends=('python-setuptools')
+license=('BSD')
+arch=('any')
+source=("https://files.pythonhosted.org/packages/source/${_module::1}/$_module/$_module-$pkgver.tar.gz")
+sha256sums=('34e3e39d221b7331877cbe614d9fc14c4c124ee07a43da9355e73adba7dde41b')
+
+build() {
+ cd "${srcdir}/${_module}-${pkgver}"
+ python setup.py build
+}
+
+package() {
+ depends+=()
+ cd "${srcdir}/${_module}-${pkgver}"
+ python setup.py install --root="${pkgdir}" --optimize=1 --skip-build
+}