summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD11
2 files changed, 2 insertions, 13 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 83c28927bfe..c6d3a01d5cd 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -6,7 +6,6 @@ pkgbase = python-django-gravatar
arch = any
license = MIT
makedepends = python-setuptools
- makedepends = python2-setuptools
options = !emptydirs
source = https://github.com/twaddington/django-gravatar/archive/1.4.0.tar.gz
sha256sums = 849a4ffdb99c333f69709a54bccc12dd266e1db7a8f352eb0ebcc97e65161782
@@ -14,6 +13,3 @@ pkgbase = python-django-gravatar
pkgname = python-django-gravatar
depends = python-django
-pkgname = python2-django-gravatar
- depends = python2-django
-
diff --git a/PKGBUILD b/PKGBUILD
index 1db48793270..1ddf9404917 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,6 +1,6 @@
# Maintainer: Simon Hanna <simon dot hanna AT serve-me DOT info>
-pkgname=('python-django-gravatar' 'python2-django-gravatar')
+pkgname=('python-django-gravatar')
pkgver=1.4.0
pkgrel=1
pkgdesc="Includes helper methods for interacting with gravatars outside of template code"
@@ -10,7 +10,7 @@ license=('MIT')
options=(!emptydirs)
source=("https://github.com/twaddington/django-gravatar/archive/${pkgver}.tar.gz")
sha256sums=('849a4ffdb99c333f69709a54bccc12dd266e1db7a8f352eb0ebcc97e65161782')
-makedepends=('python-setuptools' 'python2-setuptools')
+makedepends=('python-setuptools')
package_python-django-gravatar() {
depends=('python-django')
@@ -19,11 +19,4 @@ package_python-django-gravatar() {
python setup.py install --root="$pkgdir/" --optimize=1
}
-package_python2-django-gravatar() {
- depends=('python2-django')
- cd "$srcdir/django-gravatar-$pkgver"
- install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
- python2 setup.py install --root="$pkgdir/" --optimize=1
-}
-
# vim:set ts=2 sw=2 et: