Date: Wednesday, August 5, 2020 @ 08:15:13 Author: felixonmars Revision: 669069
archrelease: copy trunk to community-any Added: python-whitenoise/repos/community-any/PKGBUILD (from rev 669068, python-whitenoise/trunk/PKGBUILD) Deleted: python-whitenoise/repos/community-any/PKGBUILD ----------+ PKGBUILD | 60 ++++++++++++++++++++++++++++++------------------------------ 1 file changed, 30 insertions(+), 30 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2020-08-05 08:14:57 UTC (rev 669068) +++ PKGBUILD 2020-08-05 08:15:13 UTC (rev 669069) @@ -1,30 +0,0 @@ -# Maintainer: Felix Yan <felixonm...@archlinux.org> - -pkgname=python-whitenoise -pkgver=5.1.0 -pkgrel=1 -pkgdesc='Radically simplified static file serving for WSGI applications' -arch=('any') -license=('MIT') -url='http://whitenoise.evans.io' -depends=('python') -makedepends=('python-setuptools') -checkdepends=('python-brotli' 'python-django' 'python-pytest' 'python-requests') -source=("$pkgname-$pkgver.tar.gz::https://github.com/evansd/whitenoise/archive/v$pkgver.tar.gz") -sha512sums=('2e247566ca098345d76646a2108ed63ee7216d60bd30fa5afda4aa5cce3a69d1c2c31b716b4a5d2d72284bd58d92c714440f110012b47e4a8d5cbaafa1973257') - -build() { - cd whitenoise-$pkgver - python setup.py build -} - -check() { - cd whitenoise-$pkgver - DJANGO_SETTINGS_MODULE=tests.django_settings pytest -} - -package() { - cd whitenoise-$pkgver - python setup.py install --root="$pkgdir" --optimize=1 - install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE -} Copied: python-whitenoise/repos/community-any/PKGBUILD (from rev 669068, python-whitenoise/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2020-08-05 08:15:13 UTC (rev 669069) @@ -0,0 +1,30 @@ +# Maintainer: Felix Yan <felixonm...@archlinux.org> + +pkgname=python-whitenoise +pkgver=5.2.0 +pkgrel=1 +pkgdesc='Radically simplified static file serving for WSGI applications' +arch=('any') +license=('MIT') +url='http://whitenoise.evans.io' +depends=('python') +makedepends=('python-setuptools') +checkdepends=('python-brotli' 'python-django' 'python-pytest' 'python-requests') +source=("$pkgname-$pkgver.tar.gz::https://github.com/evansd/whitenoise/archive/v$pkgver.tar.gz") +sha512sums=('e68f89c6af86ffaee8931196a5714a47057b4d750b75053042007229ef390b287144a2d10376dbf232168277fc95ba4a40c128acd349242d041e6f5f39e92055') + +build() { + cd whitenoise-$pkgver + python setup.py build +} + +check() { + cd whitenoise-$pkgver + DJANGO_SETTINGS_MODULE=tests.django_settings pytest +} + +package() { + cd whitenoise-$pkgver + python setup.py install --root="$pkgdir" --optimize=1 + install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE +}