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

Felix Yan felixonmars at archlinux.org
Tue Nov 20 12:07:59 UTC 2018


    Date: Tuesday, November 20, 2018 @ 12:07:58
  Author: felixonmars
Revision: 409037

archrelease: copy trunk to community-any

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

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2018-11-20 12:07:40 UTC (rev 409036)
+++ PKGBUILD	2018-11-20 12:07:58 UTC (rev 409037)
@@ -1,56 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgbase=python-whitenoise
-pkgname=('python-whitenoise' 'python2-whitenoise')
-pkgver=4.1.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-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=('689b781461a343334eb43d68f232e86357d8b5431acfcef59892fd5d9f98f9e69080269c4abf83724b3268d687f52edce9c3832536444ea4aa441d399c46f8b6')
-
-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
-  export PYTHONWARNINGS=all
-
-  cd "$srcdir"/whitenoise-$pkgver
-  python -m unittest discover
-
-  cd "$srcdir"/whitenoise-$pkgver-py2
-  python2 -m unittest discover
-}
-
-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 409036, python-whitenoise/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2018-11-20 12:07:58 UTC (rev 409037)
@@ -0,0 +1,56 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgbase=python-whitenoise
+pkgname=('python-whitenoise' 'python2-whitenoise')
+pkgver=4.1.2
+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-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=('91105cbf22292397ff06de7483d1037f5c0804697fbfd73300db6133bc88134799550846e61d8dd28cb066abe3a33c750983224451dc770c26209fec3a2cf65d')
+
+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
+  export PYTHONWARNINGS=all
+
+  cd "$srcdir"/whitenoise-$pkgver
+  python -m unittest discover
+
+  cd "$srcdir"/whitenoise-$pkgver-py2
+  python2 -m unittest discover
+}
+
+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