diff options
-rw-r--r-- | pcr/django-tagging/PKGBUILD | 27 | ||||
-rw-r--r-- | pcr/python2-django-tagging/CHANGELOG.txt (renamed from pcr/django-tagging/CHANGELOG.txt) | 0 | ||||
-rw-r--r-- | pcr/python2-django-tagging/PKGBUILD | 34 |
3 files changed, 34 insertions, 27 deletions
diff --git a/pcr/django-tagging/PKGBUILD b/pcr/django-tagging/PKGBUILD deleted file mode 100644 index 915c8f6b1..000000000 --- a/pcr/django-tagging/PKGBUILD +++ /dev/null @@ -1,27 +0,0 @@ -# Maintainer : Aurélien Desbrières <aurelien@hackers.camp> -# Contributor: Andrey Mivrenik <gim at fastmail dot fm> -# Contributor: Ryan Coyner <rcoyner@gmail.com> -# Contributor: James Pearson <james.m.pearson+arch@gmail.com> - -pkgname=django-tagging -pkgver=0.3.1 -pkgrel=4 -pkgdesc="A generic tagging application for Django projects" -arch=('any') -url='http://code.google.com/p/django-tagging/' -license=('MIT') -depends=('python2') -makedepends=('python2-setuptools') -changelog='CHANGELOG.txt' -source=("https://django-tagging.googlecode.com/files/django-tagging-${pkgver}.tar.gz") - -build() { - cd "$srcdir/django-tagging-$pkgver" - python2 setup.py build -} - -package() { - cd "$srcdir/django-tagging-$pkgver" - python2 setup.py install --root=$pkgdir --optimize=1 - install -D -m644 LICENSE.txt $pkgdir/usr/share/licenses/$pkgname/LICENSE -} diff --git a/pcr/django-tagging/CHANGELOG.txt b/pcr/python2-django-tagging/CHANGELOG.txt index 56060df92..56060df92 100644 --- a/pcr/django-tagging/CHANGELOG.txt +++ b/pcr/python2-django-tagging/CHANGELOG.txt diff --git a/pcr/python2-django-tagging/PKGBUILD b/pcr/python2-django-tagging/PKGBUILD new file mode 100644 index 000000000..65d1d6703 --- /dev/null +++ b/pcr/python2-django-tagging/PKGBUILD @@ -0,0 +1,34 @@ +# Contributor (AUR): Andrey Mivrenik <gim at fastmail dot fm> +# Contributor (AUR): Ryan Coyner <rcoyner@gmail.com> +# Contributor (AUR): James Pearson <james.m.pearson+arch@gmail.com> +# Maintainer : Aurélien Desbrières <aurelien@hackers.camp> + +# parabola changes and rationale: +# - added replaces for previous pkgname 'django-tagging' (2018-02-01) + +pkgname=python2-django-tagging +_pkgname=django-tagging +pkgver=0.4.1 +pkgrel=1 +pkgdesc="A generic tagging application for Django projects" +arch=('any') +url='https://pypi.python.org/pypi/django-tagging' +license=('MIT') +depends=('python2-django') +makedepends=('python2-setuptools') +replaces=('django-tagging') +source=("https://pypi.python.org/packages/source/d/django-tagging/django-tagging-${pkgver}.tar.gz") +sha256sums=('35802daf35f90aa022d59f7d7d485c719c29c4efbde1bf966d44017e1e64602b') + +build() { + cd "${srcdir}/${_pkgname}-${pkgver}" + python2 setup.py build +} + +package() { + cd "${srcdir}/${_pkgname}-${pkgver}" + python2 setup.py install --root=${pkgdir} --optimize=1 + install -D -m644 LICENSE.txt ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE +} + +# vim:set ts=2 sw=2 et: |