[arch-commits] Commit in python-django-appconf/trunk (PKGBUILD)
David Runge
dvzrv at archlinux.org
Tue Mar 31 15:04:56 UTC 2020
Date: Tuesday, March 31, 2020 @ 15:04:55
Author: dvzrv
Revision: 608097
upgpkg: python-django-appconf 1.0.4-1: Upgrading to 1.0.4.
Removing previously included fixes for python-django > 2.2 (merged).
Switching to pypi for tarball (tests are now included).
Modified:
python-django-appconf/trunk/PKGBUILD
----------+
PKGBUILD | 15 +++------------
1 file changed, 3 insertions(+), 12 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2020-03-31 15:03:50 UTC (rev 608096)
+++ PKGBUILD 2020-03-31 15:04:55 UTC (rev 608097)
@@ -2,7 +2,7 @@
_name=django-appconf
pkgname=python-django-appconf
-pkgver=1.0.3
+pkgver=1.0.4
pkgrel=1
pkgdesc="An app to handle configuration defaults of packaged Django apps gracefully"
arch=('any')
@@ -11,20 +11,11 @@
depends=('python-django' 'python-six')
makedepends=('python-setuptools')
checkdepends=('python-coverage' 'python-pytest')
-# pypi sdist has no tests:
-# https://github.com/django-compressor/django-appconf/issues/54
-# source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz")
-source=("${pkgname}-${pkgver}.tar.gz::https://github.com/django-compressor/${_name}/archive/${pkgver}.tar.gz"
- "${pkgname}-1.0.3-fix_test_config.patch::https://github.com/django-compressor/django-appconf/pull/47.patch")
-sha512sums=('5a93cd5762c188710db427e280f6664c905e1ec0b939440747dfa8a0493164cc969feb77a46859836436f50ae6bff286b45bf7375897e7531090ca2727f72220'
- '8e889daa8d0f848db62960b30e8faaf887ad2ff30aa1b0fbed8997848dfe53a0fd077392fea70c1dc2c1f63052449a53bbda58bcfa7ee1bb98548a44039c56d8')
+source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz")
+sha512sums=('0d0a206d43d4c6d7f3dbe5fb6423f5f012dae42bae7459f3ee06501f9c126e73f69a30da5c34c84014e582a7b42f253ebd37ece8b8477963cb5d2357ca095639')
prepare() {
mv -v "${_name}-${pkgver}" "$pkgname-$pkgver"
- cd "$pkgname-$pkgver"
- # fixing test config for python-django > 2.2:
- # https://github.com/django-compressor/django-appconf/issues/56
- patch -Np1 -i "../${pkgname}-1.0.3-fix_test_config.patch"
}
build() {
More information about the arch-commits
mailing list