summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorPavle Portic2020-09-22 20:59:08 +0200
committerPavle Portic2020-09-22 20:59:08 +0200
commit3f3d20faf2a2031bfd79eeeab7f91eb9a19bb9e8 (patch)
treebdcf3bf0031fa7b849dadda022a1585b89aaf46f /PKGBUILD
downloadaur-3f3d20faf2a2031bfd79eeeab7f91eb9a19bb9e8.tar.gz
Initial commit
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD25
1 files changed, 25 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..236eebf8d14
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,25 @@
+# Maintainer: Pavle Portic <pavle.portic@tilda.center>
+pkgbase='python-inject'
+pkgname=('python-inject')
+_module='Inject'
+pkgver='4.3.1'
+pkgrel=1
+pkgdesc="Python dependency injection framework"
+url="https://github.com/ivankorobkov/python-inject"
+depends=('python')
+makedepends=('python-setuptools')
+license=('APACHE')
+arch=('any')
+source=("https://files.pythonhosted.org/packages/source/${_module::1}/$_module/$_module-$pkgver.tar.gz")
+sha256sums=('7f996f2c9ed2082af776ddf6b528d97036898ac63040385feb1d12286a73c3cc')
+
+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
+}