[arch-commits] Commit in python-django-crispy-forms/repos/community-any (2 files)

David Runge dvzrv at gemini.archlinux.org
Sun Sep 26 17:40:23 UTC 2021


    Date: Sunday, September 26, 2021 @ 17:40:22
  Author: dvzrv
Revision: 1025689

archrelease: copy trunk to community-any

Added:
  python-django-crispy-forms/repos/community-any/PKGBUILD
    (from rev 1025688, python-django-crispy-forms/trunk/PKGBUILD)
Deleted:
  python-django-crispy-forms/repos/community-any/PKGBUILD

----------+
 PKGBUILD |   80 +++++++++++++++++++++++++++++--------------------------------
 1 file changed, 39 insertions(+), 41 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-09-26 17:39:49 UTC (rev 1025688)
+++ PKGBUILD	2021-09-26 17:40:22 UTC (rev 1025689)
@@ -1,41 +0,0 @@
-# Maintainer: David Runge <dvzrv at archlinux.org>
-
-_name=django-crispy-forms
-pkgname=python-django-crispy-forms
-pkgver=1.12.0
-pkgrel=1
-pkgdesc="The best way to have DRY Django forms"
-arch=('any')
-url="https://github.com/django-crispy-forms/django-crispy-forms"
-license=('MIT')
-depends=('python-django')
-makedepends=('python-setuptools')
-checkdepends=('python-pytest' 'python-pytest-django')
-source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz")
-sha512sums=('f092ff05f5d38e1b7908afcb59fb1c8c3861a8d3c198c0026ec2941aebba7f13b58fd31bea0e08a06c3dd5e38db6bacee64a2a707f0aec4a2a52c76aba53754f')
-b2sums=('5ae30956510f979286ea6655bd77a198e9b936978ddd5e89ab0a243f34cc8683810a99cc729a177cf4f74e2f7d66d2a55f6bfda41e8c77c0882bb13d303015f9')
-
-prepare() {
-  mv -v "${_name}-${pkgver}" "$pkgname-$pkgver"
-}
-
-build() {
-  cd "$pkgname-$pkgver"
-  python setup.py build
-}
-
-check() {
-  cd "$pkgname-$pkgver"
-  export PYTHONPATH="build:${PYTHONPATH}"
-  DJANGO_SETTINGS_MODULE=crispy_forms.tests.test_settings pytest -v crispy_forms/tests
-}
-
-package() {
-  cd "$pkgname-$pkgver"
-  python setup.py install --skip-build \
-    --optimize=1 \
-    --root="${pkgdir}"
-  install -vDm 644 {CONTRIBUTORS.txt,README.rst} \
-    -t "${pkgdir}/usr/share/doc/${pkgname}"
-  install -vDm 644 LICENSE.txt -t "${pkgdir}/usr/share/licenses/${pkgname}"
-}

Copied: python-django-crispy-forms/repos/community-any/PKGBUILD (from rev 1025688, python-django-crispy-forms/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-09-26 17:40:22 UTC (rev 1025689)
@@ -0,0 +1,39 @@
+# Maintainer: David Runge <dvzrv at archlinux.org>
+
+_name=django-crispy-forms
+pkgname=python-django-crispy-forms
+pkgver=1.13.0
+pkgrel=1
+pkgdesc="The best way to have DRY Django forms"
+arch=('any')
+url="https://github.com/django-crispy-forms/django-crispy-forms"
+license=('MIT')
+depends=('python-django')
+makedepends=('python-setuptools')
+checkdepends=('python-pytest' 'python-pytest-django')
+source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz")
+sha512sums=('a52709470df3e4f32671cfa488135cea8947f726f6874bc2943f4c4f132c08d01fb6bc18a1b78e2756e381815d80c140c5e99c4db8ea1dffe7943b0ed1c03ecf')
+b2sums=('6efe657d897a4178683e79c1548cc598d59e95bddf4092bf3c3790e28d67e5f0c2d860574f14fd41104e737751197adc0f100fcf93f18d8129e2768ccb4c08df')
+
+prepare() {
+  mv -v "${_name}-${pkgver}" "$pkgname-$pkgver"
+}
+
+build() {
+  cd "$pkgname-$pkgver"
+  python setup.py build
+}
+
+check() {
+  cd "$pkgname-$pkgver"
+  export PYTHONPATH="build:${PYTHONPATH}"
+  DJANGO_SETTINGS_MODULE=crispy_forms.tests.test_settings pytest -v crispy_forms/tests
+}
+
+package() {
+  cd "$pkgname-$pkgver"
+  python setup.py install --optimize=1 --root="${pkgdir}"
+  install -vDm 644 {CONTRIBUTORS.txt,README.rst} \
+    -t "${pkgdir}/usr/share/doc/${pkgname}"
+  install -vDm 644 LICENSE.txt -t "${pkgdir}/usr/share/licenses/${pkgname}"
+}



More information about the arch-commits mailing list