summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorcarl.george2015-06-08 18:43:07 -0500
committercarl.george2015-06-08 18:43:07 -0500
commit4d849b5d0f7363175917eef93c81ccfa5a406804 (patch)
tree7dde7a2d275061618f9101345677bf70ee37966b
downloadaur-4d849b5d0f7363175917eef93c81ccfa5a406804.tar.gz
0.3-2
-rw-r--r--.SRCINFO18
-rw-r--r--PKGBUILD27
2 files changed, 45 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..1440c3c61e2
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,18 @@
+pkgbase = python-pluginbase
+ pkgdesc = A support library for building plugins sytems in Python.
+ pkgver = 0.3
+ pkgrel = 2
+ url = http://pluginbase.pocoo.org/
+ arch = any
+ license = BSD
+ makedepends = python-setuptools
+ makedepends = python2-setuptools
+ source = https://pypi.python.org/packages/source/p/pluginbase/pluginbase-0.3.tar.gz
+ sha256sums = d9486a2d50017551c3f0e474648b71ea2e39429720977119a437713ebae2257f
+
+pkgname = python-pluginbase
+ depends = python
+
+pkgname = python2-pluginbase
+ depends = python2
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..101e399b1ec
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,27 @@
+# Maintainer: Carl George < arch at cgtx dot us >
+
+_name="pluginbase"
+_module="${_name}"
+
+pkgname=("python-${_module}" "python2-${_module}")
+pkgver="0.3"
+pkgrel="2"
+pkgdesc="A support library for building plugins sytems in Python."
+arch=("any")
+url="http://pluginbase.pocoo.org/"
+license=("BSD")
+makedepends=("python-setuptools" "python2-setuptools")
+source=("https://pypi.python.org/packages/source/${_name:0:1}/${_name}/${_name}-${pkgver}.tar.gz")
+sha256sums=('d9486a2d50017551c3f0e474648b71ea2e39429720977119a437713ebae2257f')
+
+package_python-pluginbase() {
+ depends=("python")
+ cd "${srcdir}/${_name}-${pkgver}"
+ python setup.py install --root="${pkgdir}" --optimize=1
+}
+
+package_python2-pluginbase() {
+ depends=("python2")
+ cd "${srcdir}/${_name}-${pkgver}"
+ python2 setup.py install --root="${pkgdir}" --optimize=1
+}