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

David Runge dvzrv at archlinux.org
Wed Sep 2 19:16:19 UTC 2020


    Date: Wednesday, September 2, 2020 @ 19:16:19
  Author: dvzrv
Revision: 696859

archrelease: copy trunk to community-any

Added:
  python-django-classy-tags/repos/community-any/PKGBUILD
    (from rev 696858, python-django-classy-tags/trunk/PKGBUILD)
Deleted:
  python-django-classy-tags/repos/community-any/PKGBUILD

----------+
 PKGBUILD |   86 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 43 insertions(+), 43 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-09-02 19:16:09 UTC (rev 696858)
+++ PKGBUILD	2020-09-02 19:16:19 UTC (rev 696859)
@@ -1,43 +0,0 @@
-# Maintainer: David Runge <dvzrv at archlinux.org>
-
-_name=django-classy-tags
-pkgname=python-django-classy-tags
-pkgver=1.0.0
-pkgrel=1
-pkgdesc="Class based template tags for django"
-arch=('any')
-url="https://github.com/divio/django-classy-tags"
-license=('BSD')
-depends=('python-django' 'python-six')
-makedepends=('python-setuptools')
-checkdepends=('python-coverage' 'python-pytest')
-# LICENSE and tests not in pypi tarball in python-django-classy-tags <= 0.9.0
-# https://github.com/divio/django-classy-tags/issues/52
-# source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz")
-source=("${_name}-${pkgver}.tar.gz::https://github.com/divio/${_name}/archive/${pkgver}.tar.gz")
-sha512sums=('dbae1cf8e899cf73fcbe62e35f0f6190007dee414f04f8928e8f6e7cb33a487cb96d2cb5db4d7bf6ec540b706db37ea053e2e3fbce245ae986ff085433daf4ca')
-
-prepare() {
-  mv -v "${_name}-${pkgver}" "$pkgname-$pkgver"
-}
-
-build() {
-  cd "$pkgname-$pkgver"
-  python setup.py build
-}
-
-check() {
-  cd "$pkgname-$pkgver"
-  export PYTHONPATH="build:${PYTHONPATH}"
-  python setup.py test
-}
-
-package() {
-  cd "$pkgname-$pkgver"
-  python setup.py install --skip-build \
-    --optimize=1 \
-    --prefix=/usr \
-    --root="${pkgdir}"
-  install -vDm 644 README.rst -t "${pkgdir}/usr/share/doc/${pkgname}"
-  install -vDm 644 LICENSE.txt -t "${pkgdir}/usr/share/licenses/${pkgname}"
-}

Copied: python-django-classy-tags/repos/community-any/PKGBUILD (from rev 696858, python-django-classy-tags/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-09-02 19:16:19 UTC (rev 696859)
@@ -0,0 +1,43 @@
+# Maintainer: David Runge <dvzrv at archlinux.org>
+
+_name=django-classy-tags
+pkgname=python-django-classy-tags
+pkgver=2.0.0
+pkgrel=1
+pkgdesc="Class based template tags for django"
+arch=('any')
+url="https://github.com/divio/django-classy-tags"
+license=('BSD')
+depends=('python-django' 'python-six')
+makedepends=('python-setuptools')
+checkdepends=('python-coverage' 'python-pytest')
+# LICENSE and tests not in pypi tarball in python-django-classy-tags <= 0.9.0
+# https://github.com/divio/django-classy-tags/issues/52
+# source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz")
+source=("${pkgname}-${pkgver}.tar.gz::https://github.com/divio/${_name}/archive/${pkgver}.tar.gz")
+sha512sums=('839186b48b91c02d325b93df61731382e35741009932c52c497c3f0fbaa2ff309b8a69842094ea1e7d0299ab0f320e1a246c6111255807dd452b0c8e589c83bd')
+b2sums=('1f038ed48468e12fa7dce3b7dd2582f36954c15947420da9337c98b0633225f681f2df0339d13615002be9c6d603843006d6617ef4f3f35f9e469a4991380d87')
+
+prepare() {
+  mv -v "${_name}-${pkgver}" "$pkgname-$pkgver"
+}
+
+build() {
+  cd "$pkgname-$pkgver"
+  python setup.py build
+}
+
+check() {
+  cd "$pkgname-$pkgver"
+  export PYTHONPATH="build:${PYTHONPATH}"
+  python setup.py test
+}
+
+package() {
+  cd "$pkgname-$pkgver"
+  python setup.py install --skip-build \
+                          --optimize=1 \
+                          --root="${pkgdir}"
+  install -vDm 644 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