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

David Runge dvzrv at gemini.archlinux.org
Sun Dec 19 16:17:53 UTC 2021


    Date: Sunday, December 19, 2021 @ 16:17:52
  Author: dvzrv
Revision: 1079053

archrelease: copy trunk to community-any

Added:
  python-django-compressor/repos/community-any/PKGBUILD
    (from rev 1079052, python-django-compressor/trunk/PKGBUILD)
Deleted:
  python-django-compressor/repos/community-any/PKGBUILD

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-12-19 16:17:45 UTC (rev 1079052)
+++ PKGBUILD	2021-12-19 16:17:52 UTC (rev 1079053)
@@ -1,43 +0,0 @@
-# Maintainer: David Runge <dvzrv at archlinux.org>
-
-_name=django_compressor
-pkgname=python-django-compressor
-pkgver=3.0
-pkgrel=1
-pkgdesc="Compresses linked and inline javascript or CSS into a single cached file"
-arch=(any)
-url="https://github.com/django-compressor/django-compressor"
-license=(Apache BSD MIT)
-depends=(python-django-appconf python-rcssmin python-rjsmin)
-makedepends=(python-setuptools)
-checkdepends=(python-beautifulsoup4 python-brotli python-calmjs python-coverage
-python-csscompressor python-django-sekizai python-html5lib python-jinja
-python-lxml python-mock slimit)
-source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz")
-sha512sums=('fa3876197f32e1a977aa84a4dc1cac2649c9be84f0a2f38c2363b558d940a861bda08ed038994f2451321573dcb751674ea58ec30be60b46060f82094244b380')
-b2sums=('d02bb396f98a05babfd2a6cdcaf9acacf784e9115ece5ea13813a759ac01c3b472b5e4a1f8487b0641faeb082d1ffbb21db97d65e7e78bd2da0604345f3cfe72')
-
-prepare() {
-  cd "${_name}-$pkgver"
-  sed -e 's/rcssmin ==/rcssmin >=/' \
-      -e 's/rjsmin ==/rjsmin >=/' \
-      -i setup.py
-}
-
-build() {
-  cd "${_name}-$pkgver"
-  python setup.py build
-}
-
-check() {
-  cd "${_name}-$pkgver"
-  export PYTHONPATH="build:${PYTHONPATH}"
-  django-admin test --settings=compressor.test_settings compressor
-}
-
-package() {
-  cd "${_name}-$pkgver"
-  python setup.py install --optimize=1 --root="${pkgdir}"
-  install -vDm 644 {AUTHORS,README.rst} -t "${pkgdir}/usr/share/doc/${pkgname}"
-  install -vDm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
-}

Copied: python-django-compressor/repos/community-any/PKGBUILD (from rev 1079052, python-django-compressor/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-12-19 16:17:52 UTC (rev 1079053)
@@ -0,0 +1,43 @@
+# Maintainer: David Runge <dvzrv at archlinux.org>
+
+_name=django_compressor
+pkgname=python-django-compressor
+pkgver=3.1
+pkgrel=1
+pkgdesc="Compresses linked and inline javascript or CSS into a single cached file"
+arch=(any)
+url="https://github.com/django-compressor/django-compressor"
+license=(Apache BSD MIT)
+depends=(python-django-appconf python-rcssmin python-rjsmin)
+makedepends=(python-setuptools)
+checkdepends=(python-beautifulsoup4 python-brotli python-calmjs python-coverage
+python-csscompressor python-django-sekizai python-html5lib python-jinja
+python-lxml python-mock slimit)
+source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz")
+sha512sums=('a0026278d6de64984039d91ad195514f2aa6def8a7a3c88a6b75e03974d7e19026fdbd4b30ab4b33d441a13465ef03ac536e6a5b36aeffcbfaa76b68ef36fbaa')
+b2sums=('35469deb786718c4c053b11a5dbda18ee8b2e9bda2cc3325932ab36a2fae60458f801ff755ef82ef9aad2c641a81ac31a56014f3c0b520a14bfab6467be77316')
+
+prepare() {
+  cd "${_name}-$pkgver"
+  sed -e 's/rcssmin ==/rcssmin >=/' \
+      -e 's/rjsmin ==/rjsmin >=/' \
+      -i setup.py
+}
+
+build() {
+  cd "${_name}-$pkgver"
+  python setup.py build
+}
+
+check() {
+  cd "${_name}-$pkgver"
+  export PYTHONPATH="build:${PYTHONPATH}"
+  django-admin test --settings=compressor.test_settings compressor
+}
+
+package() {
+  cd "${_name}-$pkgver"
+  python setup.py install --optimize=1 --root="${pkgdir}"
+  install -vDm 644 {AUTHORS,README.rst} -t "${pkgdir}/usr/share/doc/${pkgname}"
+  install -vDm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
+}



More information about the arch-commits mailing list