[arch-commits] Commit in python-django-gravatar/trunk (PKGBUILD)
David Runge
dvzrv at archlinux.org
Tue Feb 4 16:08:14 UTC 2020
Date: Tuesday, February 4, 2020 @ 16:08:14
Author: dvzrv
Revision: 562053
upgpkg: python-django-gravatar 1.4.4-1: Upgrading to 1.4.4. Removing explicit removal of example_project. It's not a module anymore \o/.
Modified:
python-django-gravatar/trunk/PKGBUILD
----------+
PKGBUILD | 10 +++-------
1 file changed, 3 insertions(+), 7 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2020-02-04 16:00:41 UTC (rev 562052)
+++ PKGBUILD 2020-02-04 16:08:14 UTC (rev 562053)
@@ -2,8 +2,8 @@
_name=django-gravatar2
pkgname=python-django-gravatar
-pkgver=1.4.3
-pkgrel=2
+pkgver=1.4.4
+pkgrel=1
pkgdesc="Essential Gravatar support for Django"
arch=('any')
url="https://github.com/twaddington/django-gravatar"
@@ -12,7 +12,7 @@
makedepends=('python-setuptools')
checkdepends=('python-pytest')
source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz")
-sha512sums=('f95e3ddf39ccb6782a26d04fb22cded935735403684964f79c6fec3047b613c5ee39cafbcecd049a4207ada065c66a9ae9dc622c71852f0e57983004aace136c')
+sha512sums=('999fe2a036b23f73ee8111cccde459aa72a5f90995d322e772776f85ba206281e791cdf7d4888b45c7f2ecf8baf6509ed44652396f5db158c484a2fb53439c99')
prepare() {
mv -v "${_name}-${pkgver}" "$pkgname-$pkgver"
@@ -31,14 +31,10 @@
package() {
cd "$pkgname-$pkgver"
- local python_stdlib_basepath="$(python -c "from sysconfig import get_path; print(get_path('stdlib'))")"
python setup.py install --skip-build \
--optimize=1 \
--prefix=/usr \
--root="${pkgdir}"
- # remove example_project from top level:
- # https://github.com/twaddington/django-gravatar/issues/35
- rm -rfv "${pkgdir}/${python_stdlib_basepath}/site-packages/example_project"
install -vDm 644 README.rst -t "${pkgdir}/usr/share/doc/${pkgname}"
install -vDm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
}
More information about the arch-commits
mailing list