[arch-commits] Commit in python-django-classy-tags/repos/community-staging-any (2 files)
Evangelos Foutras
foutrelis at archlinux.org
Thu Nov 12 10:09:09 UTC 2020
Date: Thursday, November 12, 2020 @ 10:09:08
Author: foutrelis
Revision: 751436
archrelease: copy trunk to community-staging-any
Added:
python-django-classy-tags/repos/community-staging-any/PKGBUILD
(from rev 751434, python-django-classy-tags/trunk/PKGBUILD)
Deleted:
python-django-classy-tags/repos/community-staging-any/PKGBUILD
----------+
PKGBUILD | 94 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 47 insertions(+), 47 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-11-12 10:09:08 UTC (rev 751435)
+++ PKGBUILD 2020-11-12 10:09:08 UTC (rev 751436)
@@ -1,47 +0,0 @@
-# Maintainer: David Runge <dvzrv at archlinux.org>
-
-_name=django-classy-tags
-pkgname=python-django-classy-tags
-pkgver=2.0.0
-pkgrel=3
-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() {
- local site_packages=$(python -c "import site; print(site.getsitepackages()[0])")
- 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}"
- # remove conflicting test files
- # https://github.com/divio/django-classy-tags/issues/58
- rm -rvf "${pkgdir}/${site_packages}/tests"
-}
Copied: python-django-classy-tags/repos/community-staging-any/PKGBUILD (from rev 751434, python-django-classy-tags/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-11-12 10:09:08 UTC (rev 751436)
@@ -0,0 +1,47 @@
+# Maintainer: David Runge <dvzrv at archlinux.org>
+
+_name=django-classy-tags
+pkgname=python-django-classy-tags
+pkgver=2.0.0
+pkgrel=4
+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() {
+ local site_packages=$(python -c "import site; print(site.getsitepackages()[0])")
+ 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}"
+ # remove conflicting test files
+ # https://github.com/divio/django-classy-tags/issues/58
+ rm -rvf "${pkgdir}/${site_packages}/tests"
+}
More information about the arch-commits
mailing list