[arch-commits] Commit in python-wsgi-intercept/trunk (PKGBUILD)
David Runge
dvzrv at archlinux.org
Sat Jul 14 22:45:22 UTC 2018
Date: Saturday, July 14, 2018 @ 22:45:22
Author: dvzrv
Revision: 359510
upgpkg: python-wsgi-intercept 1.8.0-1
Upgrading to 1.8.0. Switching to pypi sdist for source. Currently not installing README.rst, because it's not part of pypi tarball.
Modified:
python-wsgi-intercept/trunk/PKGBUILD
----------+
PKGBUILD | 25 ++++++++++++++-----------
1 file changed, 14 insertions(+), 11 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2018-07-14 22:24:36 UTC (rev 359509)
+++ PKGBUILD 2018-07-14 22:45:22 UTC (rev 359510)
@@ -1,12 +1,13 @@
+# $Id$
# Maintainer: David Runge <dave at sleepmap.de>
# Contributor: Hugo Osvaldo Barrera <hugo at barrera.io>
# Contributor: Neil Santos <nsantos16+aur at gmail.com>
-_name=wsgi-intercept
+_name=wsgi_intercept
pkgbase=python-wsgi-intercept
pkgname=('python-wsgi-intercept' 'python2-wsgi-intercept')
-pkgver=1.7.0
-pkgrel=2
+pkgver=1.8.0
+pkgrel=1
pkgdesc='Intercept socket connection to wsgi applications for testing.'
arch=('any')
url="https://github.com/cdent/wsgi-intercept"
@@ -15,8 +16,8 @@
checkdepends=('python-httplib2' 'python-pytest' 'python-requests'
'python-urllib3' 'python2-httplib2' 'python2-pytest' 'python2-requests'
'python2-urllib3')
-source=("${_name}-${pkgver}.tar.gz::https://github.com/cdent/${_name}/archive/v${pkgver}.tar.gz")
-sha512sums=('d83e513166cb827346bad31732c1f9117e12e6efd186676336c9635994c3afff607f116103e2ba493388f6045b5f2d0b409587620b7619bcd6ca8c5707acfc9c')
+source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz")
+sha512sums=('980fd8d2c5b5fe1cd320995c4ee9c7c406fd0aedc5328647430cd1dd0aabd465761749804f7d73697ae3ac8284771632f9bce8d0a4c95d4153c21cabd0f4a590')
prepare() {
mv -v "${_name}-${pkgver}" "${pkgname[0]}-${pkgver}"
@@ -49,8 +50,9 @@
--prefix=/usr \
--root="${pkgdir}"
install -vDm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}/"
- install -vDm 644 README.rst -t "${pkgdir}/usr/share/${pkgname}/"
- install -vDm 644 docs/_build/man/wsgi_intercept.1 \
+# README not in pypi sdist: https://github.com/cdent/wsgi-intercept/issues/55
+# install -vDm 644 README.rst -t "${pkgdir}/usr/share/${pkgname}/"
+ install -vDm 644 docs/_build/man/${_name}.1 \
-t "${pkgdir}/usr/share/man/man1/"
}
@@ -61,9 +63,10 @@
--optimize=1 \
--prefix=/usr \
--root="${pkgdir}"
- install -vDm644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}/"
- install -vDm644 README.rst -t "${pkgdir}/usr/share/${pkgname}/"
- install -vDm644 docs/_build/man/wsgi_intercept.1 \
- "${pkgdir}/usr/share/man/man1/wsgi_intercept2.1"
+ install -vDm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}/"
+# README not in pypi sdist: https://github.com/cdent/wsgi-intercept/issues/55
+# install -vDm 644 README.rst -t "${pkgdir}/usr/share/${pkgname}/"
+ install -vDm 644 docs/_build/man/${_name}.1 \
+ "${pkgdir}/usr/share/man/man1/${_name}2.1"
}
More information about the arch-commits
mailing list