aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJustin Berthault <justin.berthault@zaclys.net>2020-05-10 12:10:24 +0200
committerLeo <thinkabit.ukim@gmail.com>2020-05-21 18:14:57 +0000
commit3c9da6be2ea471428bd1ca74510b321fa626454f (patch)
tree4023083bab8bf700a1e704e1921458daab1887a1
parent2f8e2bce6afc4dc627af953c5924593faab7d6ab (diff)
downloadaports-3c9da6be2ea471428bd1ca74510b321fa626454f.tar.gz
aports-3c9da6be2ea471428bd1ca74510b321fa626454f.tar.bz2
aports-3c9da6be2ea471428bd1ca74510b321fa626454f.tar.xz
main/py3-django-widget-tweaks: upgrade to 1.4.8
-rw-r--r--main/py3-django-widget-tweaks/APKBUILD15
1 files changed, 5 insertions, 10 deletions
diff --git a/main/py3-django-widget-tweaks/APKBUILD b/main/py3-django-widget-tweaks/APKBUILD
index 85d7401c03..efa656545e 100644
--- a/main/py3-django-widget-tweaks/APKBUILD
+++ b/main/py3-django-widget-tweaks/APKBUILD
@@ -1,34 +1,29 @@
# Contributor: Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi>
# Maintainer: Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi>
pkgname=py3-django-widget-tweaks
-pkgver=1.4.5
-pkgrel=1
+pkgver=1.4.8
+pkgrel=0
pkgdesc="Tweak the form field rendering in templates, not in python-level form definitions"
url="https://github.com/jazzband/django-widget-tweaks"
arch="noarch"
license="MIT"
depends="py3-django"
makedepends="py3-setuptools"
-source="$pkgname-$pkgver.tar.gz::https://github.com/jazzband/django-widget-tweaks/archive/$pkgver.tar.gz"
-
+source="https://files.pythonhosted.org/packages/source/d/django-widget-tweaks/django-widget-tweaks-$pkgver.tar.gz"
builddir="$srcdir/django-widget-tweaks-$pkgver"
-
replaces="py-django-widget-tweaks" # Backwards compatibility
provides="py-django-widget-tweaks=$pkgver-r$pkgrel" # Backwards compatibility
build() {
- cd "$builddir"
python3 setup.py build
}
check() {
- cd "$builddir"
- python3 runtests.py
+ python3 build/lib/widget_tweaks/tests.py
}
package() {
- cd "$builddir"
python3 setup.py install --root "$pkgdir"
}
-sha512sums="e35c5360bfe016c470cd50b8d500d9e3f8648e1a909508c5a516ecf82d98d2808432bb2a5738ec2dd6d1e77e63e9beb454237ba44e5a4060cf812ddd43ace18e py3-django-widget-tweaks-1.4.5.tar.gz"
+sha512sums="2e82546fa56d44fe2757586fd1b09d138b6fbca694d7fa4bd282a3364a9134ea68e6bfe461bf3bea81236e514434be94388ce8a082d2cee3d00f94394960466e django-widget-tweaks-1.4.8.tar.gz"