diff options
author | André Fabian Silva Delgado <emulatorman@parabola.nu> | 2014-06-01 22:21:00 -0300 |
---|---|---|
committer | André Fabian Silva Delgado <emulatorman@parabola.nu> | 2014-06-01 22:21:00 -0300 |
commit | 888ba65470b25311d05aa55c9f88fb6736ece938 (patch) | |
tree | 139490225c3190a6f5728d3756fd17ea9038467b /pcr/python2-django-extensions/PKGBUILD | |
parent | e08edc31359b2fdc2baf4ea9da246c6fac717ab6 (diff) | |
parent | bf725c5b41e91a279bd79c6749b4b8950005d456 (diff) | |
download | abslibre-888ba65470b25311d05aa55c9f88fb6736ece938.tar.gz abslibre-888ba65470b25311d05aa55c9f88fb6736ece938.tar.bz2 abslibre-888ba65470b25311d05aa55c9f88fb6736ece938.zip |
Merge branch 'master' of ssh://projects.parabolagnulinux.org:1863/srv/git/abslibre
Diffstat (limited to 'pcr/python2-django-extensions/PKGBUILD')
-rw-r--r-- | pcr/python2-django-extensions/PKGBUILD | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/pcr/python2-django-extensions/PKGBUILD b/pcr/python2-django-extensions/PKGBUILD new file mode 100644 index 000000000..16f2d542a --- /dev/null +++ b/pcr/python2-django-extensions/PKGBUILD @@ -0,0 +1,39 @@ +# Maintainer : Parabola Aurélien DESBRIÈRES <aurelien@hackers.camp> +# Contributor: Jeremy "Ichimonji10" Audet <ichimonji10 at gmail dot com> +# Contributor: Dominik Kozaczko <dominik@kozaczko.info> +# Contributor: Alper Kanat <alperkanat@raptiye.org> +# Contributor: Apkawa <apkawa@gmail.com> +# Contributor: Schnouki <thomas.jost@gmail.com> +# +# namcap warns that python2-django and python2-six are unnecessary dependencies. +# This is untrue. +# +# This package was formerly named `django-extensions`. As a result, this package +# must provide and conflict with that package. + +pkgname=python2-django-extensions +_pkgname=django-extensions +pkgver=1.3.7 +pkgrel=1 +pkgdesc='A collection of custom extensions for the Django Framework.' +arch=(any) +url='http://github.com/django-extensions/django-extensions' +license=(MIT) +depends=(python2-django python2-six) +makedepends=(python2-setuptools) +optdepends=( + 'graphviz: to graph Django models' + 'python2-werkzeug: to use the Werkzeug debugger in the embedded web server' +) +provides=(django-extensions) +conflicts=(django-extensions) +options=(!emptydirs) +source=("https://github.com/${_pkgname}/${_pkgname}/archive/${pkgver}.tar.gz") + +package() { + cd "${srcdir}/${_pkgname}-${pkgver}" + python2 setup.py install --root="${pkgdir}/" --optimize=1 + install -Dm 644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" +} + +# vim:set ts=2 sw=2 et: |