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

David Runge dvzrv at archlinux.org
Wed Nov 18 21:08:34 UTC 2020


    Date: Wednesday, November 18, 2020 @ 21:08:34
  Author: dvzrv
Revision: 757254

archrelease: copy trunk to community-staging-any

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

----------+
 PKGBUILD |   84 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 42 insertions(+), 42 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-11-18 21:08:27 UTC (rev 757253)
+++ PKGBUILD	2020-11-18 21:08:34 UTC (rev 757254)
@@ -1,42 +0,0 @@
-# Maintainer: David Runge <dvzrv at archlinux.org>
-
-_name=django-crispy-forms
-pkgname=python-django-crispy-forms
-pkgver=1.9.2
-pkgrel=3
-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=('2f3696d3a4b1ff1a203ae4f73ec42e9862bfcb709267f3d5788c4bdbccbd8f56070a2e51948557344ac23fd0fb157457a80b898b4573676282ac7a6a061a32be')
-b2sums=('777f215d020c6ebb344a40de86e1770d1efefa92409bd65ed2db9735ad70f855395f6f3c3be9d139949dcee90d6bc16ea5e8e7ae09af8d45279e8c69b45351b1')
-
-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 \
-    --prefix=/usr \
-    --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-staging-any/PKGBUILD (from rev 757253, python-django-crispy-forms/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-11-18 21:08:34 UTC (rev 757254)
@@ -0,0 +1,42 @@
+# Maintainer: David Runge <dvzrv at archlinux.org>
+
+_name=django-crispy-forms
+pkgname=python-django-crispy-forms
+pkgver=1.10.0
+pkgrel=2
+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=('992555dcb5c72f9a06fc1f799e1efd2ec464bb32d4df40c25ddda853aed31a7e5bbe7d3afc668e570fd23d9528999457f769e0374613a341df16270d6d4f3848')
+b2sums=('4e75db91b2e426f3f08049da63884b5ed2cf246f876a7cff4f3333d3d3b74e12a7c2dd2e405ff0c39e181a1b50c6aacba8e444e8d8b975b29e32d788c79c0783')
+
+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 \
+    --prefix=/usr \
+    --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