diff options
author | Omar Vega Ramos <ovruni@gnu.org.pe> | 2015-05-01 11:27:07 -0500 |
---|---|---|
committer | Omar Vega Ramos <ovruni@gnu.org.pe> | 2015-05-01 11:27:07 -0500 |
commit | 4c37b5e0245f85631de17e7541fab5e6d070095f (patch) | |
tree | 149ac1ea14fcf936f69a80f722f37741a00ac065 /pcr | |
parent | 0c9b3812ed66737f590eebcfcfe4377d94e6dcd4 (diff) | |
download | abslibre-4c37b5e0245f85631de17e7541fab5e6d070095f.tar.gz abslibre-4c37b5e0245f85631de17e7541fab5e6d070095f.tar.bz2 abslibre-4c37b5e0245f85631de17e7541fab5e6d070095f.zip |
python-django-extensions-1.5.2-1: updating version
Diffstat (limited to 'pcr')
-rw-r--r-- | pcr/django-extensions/PKGBUILD | 39 | ||||
-rw-r--r-- | pcr/python-django-extensions/PKGBUILD | 31 |
2 files changed, 31 insertions, 39 deletions
diff --git a/pcr/django-extensions/PKGBUILD b/pcr/django-extensions/PKGBUILD deleted file mode 100644 index a416d92b6..000000000 --- a/pcr/django-extensions/PKGBUILD +++ /dev/null @@ -1,39 +0,0 @@ -# Contributor (Arch): Alper Kanat <alperkanat@raptiye.org> -# Contributor (Arch): Schnouki <thomas.jost@gmail.com> -# Maintainer : Parabola GNU / Linux-libre <aurelien@cwb.io> - -pkgname=django-extensions -pkgver=0.6 -pkgrel=1 -pkgdesc="Django Custom Management Command Extensions" -arch=('any') -url="http://github.com/django-extensions/django-extensions" -license=('BSD') -depends=('django' 'python2') -makedepends=('setuptools' 'git') -optdepends=('graphviz: to graph Django models' - 'python-werkzeug: to use the Werbzeug debugger in the embedded web server') -source=() - -_giturl=http://github.com/$pkgname/$pkgname.git - -build() { - cd $srcdir - - if [[ ! -d $srcdir/$pkgname ]]; then - # downloading the whole repository - git clone $_giturl - else - # updating the local repository - cd $srcdir/$pkgname - git pull - fi - - cd $srcdir/$pkgname - - # checking out to the tag (version) - git checkout -b $pkgver $pkgver - - python2 ./setup.py install --root=$pkgdir --prefix=/usr || return 1 -} - diff --git a/pcr/python-django-extensions/PKGBUILD b/pcr/python-django-extensions/PKGBUILD new file mode 100644 index 000000000..9abf30fda --- /dev/null +++ b/pcr/python-django-extensions/PKGBUILD @@ -0,0 +1,31 @@ +# Contributor (Arch): Jeremy "Ichimonji10" Audet <ichimonji10 at gmail dot com> +# Maintainer : Omar Vega Ramos <ovruni@gnu.org.pe> +# +# namcap warns that python-django and python-six are unnecessary dependencies. +# This is untrue. + +pkgname=python-django-extensions +_pkgname=django-extensions +pkgver=1.5.2 +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=(python-django python-six) +makedepends=(python-setuptools) +optdepends=( + 'graphviz: to graph Django models' + 'python-werkzeug: to use the Werkzeug debugger in the embedded web server' +) +options=(!emptydirs) +source=("https://github.com/${_pkgname}/${_pkgname}/archive/${pkgver}.tar.gz") +sha256sums=('dd719ca75fe69803a55f7cd7e0f0c6563eb4e0bf68acfc352ffb58fe708722de') + +package() { + cd "${srcdir}/${_pkgname}-${pkgver}" + python setup.py install --root="${pkgdir}/" --optimize=1 + install -Dm 644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" +} + +# vim:set ts=2 sw=2 et: |