summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMiguel de Val-Borro2015-06-08 11:51:31 -0400
committerMiguel de Val-Borro2015-06-08 11:51:31 -0400
commit308f0a8405f850939de1533bed3f8860537e66dd (patch)
treeea48eebb1c2133688b32cc842f771ae8e6baca1a
downloadaur-308f0a8405f850939de1533bed3f8860537e66dd.tar.gz
Initial import
-rw-r--r--.SRCINFO20
-rw-r--r--PKGBUILD34
2 files changed, 54 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..6e5da98a4e4
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,20 @@
+pkgbase = python-django-bootstrap3
+ pkgdesc = Bootstrap 3 integration with Django
+ pkgver = 5.4.0
+ pkgrel = 1
+ url = http://github.com/dyve/django-bootstrap3
+ arch = any
+ license = Apache
+ makedepends = python
+ makedepends = python-setuptools
+ makedepends = python2
+ makedepends = python2-setuptools
+ source = https://pypi.python.org/packages/source/d/django-bootstrap3/django-bootstrap3-5.4.0.tar.gz
+ md5sums = 3ba4c627a9db504606a723f911c5dd8b
+
+pkgname = python-django-bootstrap3
+ depends = python-django
+
+pkgname = python2-django-bootstrap3
+ depends = python2-django
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..86d9b04a4aa
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,34 @@
+# Maintainer: Miguel de Val-Borro <miguel at archlinux dot net>
+
+pkgname=('python-django-bootstrap3' 'python2-django-bootstrap3')
+pkgver=5.4.0
+pkgrel=1
+pkgdesc="Bootstrap 3 integration with Django"
+arch=('any')
+url="http://github.com/dyve/django-bootstrap3"
+license=('Apache')
+makedepends=('python' 'python-setuptools' 'python2' 'python2-setuptools')
+source=("https://pypi.python.org/packages/source/d/django-bootstrap3/django-bootstrap3-${pkgver}.tar.gz")
+md5sums=('3ba4c627a9db504606a723f911c5dd8b')
+
+build() {
+ cp -r ${srcdir}/django-bootstrap3-${pkgver} ${srcdir}/django-bootstrap3-${pkgver}-py2
+
+ cd ${srcdir}/django-bootstrap3-${pkgver}
+ python setup.py build
+
+ cd ${srcdir}/django-bootstrap3-${pkgver}-py2
+ python2 setup.py build
+}
+
+package_python-django-bootstrap3() {
+ depends=('python-django')
+ cd ${srcdir}/django-bootstrap3-${pkgver}
+ python setup.py install --prefix=/usr --root=${pkgdir}
+}
+
+package_python2-django-bootstrap3() {
+ depends=('python2-django')
+ cd ${srcdir}/django-bootstrap3-${pkgver}-py2
+ python2 setup.py install --prefix=/usr --root=${pkgdir}
+}