[arch-commits] Commit in python-whitenoise/repos/community-any (PKGBUILD PKGBUILD)

Felix Yan felixonmars at archlinux.org
Fri Sep 29 21:32:56 UTC 2017


    Date: Friday, September 29, 2017 @ 21:32:55
  Author: felixonmars
Revision: 261098

archrelease: copy trunk to community-any

Added:
  python-whitenoise/repos/community-any/PKGBUILD
    (from rev 261097, python-whitenoise/trunk/PKGBUILD)
Deleted:
  python-whitenoise/repos/community-any/PKGBUILD

----------+
 PKGBUILD |  112 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 56 insertions(+), 56 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2017-09-29 21:32:28 UTC (rev 261097)
+++ PKGBUILD	2017-09-29 21:32:55 UTC (rev 261098)
@@ -1,56 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgbase=python-whitenoise
-pkgname=('python-whitenoise' 'python2-whitenoise')
-pkgver=3.3.0
-pkgrel=1
-pkgdesc='Radically simplified static file serving for WSGI applications'
-arch=('any')
-license=('MIT')
-url='http://whitenoise.evans.io'
-makedepends=('python-setuptools' 'python2-setuptools')
-checkdepends=('python-pytest-runner' 'python2-pytest-runner' 'python-django' 'python2-django'
-              'python-requests' 'python2-requests' 'python-brotli' 'python2-brotli')
-source=("$pkgbase-$pkgver.tar.gz::https://github.com/evansd/whitenoise/archive/v$pkgver.tar.gz")
-sha512sums=('ed79f56ba41b817e002bfe872f8603e8f642217356650a1e9beb5fc89b20d153edd6fc6d4560b72bfbcd75cfcd3014c76bb3f230f123aa413d7ca8644bb59853')
-
-prepare() {
-  cp -a whitenoise-$pkgver{,-py2}
-}
-
-build() {
-  cd "$srcdir"/whitenoise-$pkgver
-  python setup.py build
-
-  cd "$srcdir"/whitenoise-$pkgver-py2
-  python2 setup.py build
-}
-
-check() {
-  export DJANGO_SETTINGS_MODULE=tests.django_settings
-
-  cd "$srcdir"/whitenoise-$pkgver
-  python setup.py pytest
-
-  cd "$srcdir"/whitenoise-$pkgver-py2
-  python2 setup.py pytest
-}
-
-package_python-whitenoise() {
-  depends=('python')
-
-  cd whitenoise-$pkgver
-  python setup.py install --root="$pkgdir" --optimize=1
-  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}
-
-package_python2-whitenoise() {
-  depends=('python2')
-
-  cd whitenoise-$pkgver-py2
-  python2 setup.py install --root="$pkgdir" --optimize=1
-  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}
-
-# vim:set ts=2 sw=2 et:

Copied: python-whitenoise/repos/community-any/PKGBUILD (from rev 261097, python-whitenoise/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2017-09-29 21:32:55 UTC (rev 261098)
@@ -0,0 +1,56 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgbase=python-whitenoise
+pkgname=('python-whitenoise' 'python2-whitenoise')
+pkgver=3.3.1
+pkgrel=1
+pkgdesc='Radically simplified static file serving for WSGI applications'
+arch=('any')
+license=('MIT')
+url='http://whitenoise.evans.io'
+makedepends=('python-setuptools' 'python2-setuptools')
+checkdepends=('python-pytest-runner' 'python2-pytest-runner' 'python-django' 'python2-django'
+              'python-requests' 'python2-requests' 'python-brotli' 'python2-brotli')
+source=("$pkgbase-$pkgver.tar.gz::https://github.com/evansd/whitenoise/archive/v$pkgver.tar.gz")
+sha512sums=('26a053d9235da45dea0ab567e5152f6a345e3d4bf10d1b8149b629b3bfaeaab42cc82fd8c41667e4b5f2c8c1cc73ddb9b5b58c22c84696f7b090088184b2d29b')
+
+prepare() {
+  cp -a whitenoise-$pkgver{,-py2}
+}
+
+build() {
+  cd "$srcdir"/whitenoise-$pkgver
+  python setup.py build
+
+  cd "$srcdir"/whitenoise-$pkgver-py2
+  python2 setup.py build
+}
+
+check() {
+  export DJANGO_SETTINGS_MODULE=tests.django_settings
+
+  cd "$srcdir"/whitenoise-$pkgver
+  python setup.py pytest
+
+  cd "$srcdir"/whitenoise-$pkgver-py2
+  python2 setup.py pytest
+}
+
+package_python-whitenoise() {
+  depends=('python')
+
+  cd whitenoise-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1
+  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
+
+package_python2-whitenoise() {
+  depends=('python2')
+
+  cd whitenoise-$pkgver-py2
+  python2 setup.py install --root="$pkgdir" --optimize=1
+  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
+
+# vim:set ts=2 sw=2 et:



More information about the arch-commits mailing list