[arch-commits] Commit in python-furl/trunk (PKGBUILD)
David Runge
dvzrv at archlinux.org
Sat Jul 14 21:12:30 UTC 2018
Date: Saturday, July 14, 2018 @ 21:12:29
Author: dvzrv
Revision: 359401
upgpkg: python-furl 1.2-1
Upgrading to 1.2. Adding needed make and checkdepends. Minor fixes.
Modified:
python-furl/trunk/PKGBUILD
----------+
PKGBUILD | 25 +++++++++++++------------
1 file changed, 13 insertions(+), 12 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2018-07-14 20:57:52 UTC (rev 359400)
+++ PKGBUILD 2018-07-14 21:12:29 UTC (rev 359401)
@@ -1,3 +1,4 @@
+# $Id$
# Maintainer: David Runge <dave at sleepmap.de>
# Contributor: Husam Bilal <husam212 AT gmail DOT com>
@@ -4,16 +5,16 @@
_name=furl
pkgbase=python-furl
pkgname=('python-furl' 'python2-furl')
-pkgver=1.1
-pkgrel=2
+pkgver=1.2
+pkgrel=1
pkgdesc="A small Python library that makes parsing and manipulating URLs easy"
url="https://github.com/gruns/furl"
-makedepends=('python-setuptools' 'python2-setuptools')
-checkdepends=('python-pycodestyle' 'python2-pycodestyle')
+makedepends=('python-orderedmultidict' 'python-setuptools' 'python-six' 'python2-orderedmultidict' 'python2-setuptools' 'python2-six')
+checkdepends=('flake8' 'python-pycodestyle' 'python-pyflakes' 'python2-flake8' 'python2-pycodestyle' 'python2-pyflakes')
license=('custom:Unlicense')
arch=('any')
-source=("https://pypi.python.org/packages/source/f/${_name}/${_name}-${pkgver}.tar.gz")
-sha512sums=('5af4acc5736f8841fd4abc002fc4c9668da2e3655f197773e603242ca29c40021dc388c760959fea7847cf1be71d5b367d56eaf263c84b171659af0632364a9c')
+source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz")
+sha512sums=('dc14048dda61e7f33466f9547b3185bc482a27ad3ff4701a97364ca5e845e8ea7cca7747588d50478d37acf3b8ef641427957f3a63775bed24ace2de55a1fb65')
prepare() {
mv -v "${_name}-${pkgver}" "${pkgname[0]}-${pkgver}"
@@ -36,22 +37,22 @@
package_python-furl() {
depends=('python-six' 'python-orderedmultidict')
- cd "${pkgname[0]}-${pkgver}"
+ cd "${pkgname}-${pkgver}"
python setup.py install --skip-build \
--optimize=1 \
--prefix=/usr \
--root="${pkgdir}"
- install -vDm644 LICENSE.md "${pkgdir}/usr/share/licenses/${pkgname[0]}/LICENSE"
- install -t "${pkgdir}/usr/share/doc/${pkgname[0]}" -vDm644 {API,README}.md
+ install -vDm 644 LICENSE.md "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+ install -t "${pkgdir}/usr/share/doc/${pkgname}" -vDm644 {API,README}.md
}
package_python2-furl() {
depends=('python2-six' 'python2-orderedmultidict')
- cd "${pkgname[0]}-${pkgver}"
+ cd "${pkgname}-${pkgver}"
python2 setup.py install --skip-build \
--optimize=1 \
--prefix=/usr \
--root="${pkgdir}"
- install -vDm644 LICENSE.md "${pkgdir}/usr/share/licenses/${pkgname[1]}/LICENSE"
- install -t "${pkgdir}/usr/share/doc/${pkgname[1]}" -vDm644 {API,README}.md
+ install -vDm 644 LICENSE.md "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+ install -t "${pkgdir}/usr/share/doc/${pkgname}" -vDm 644 {API,README}.md
}
More information about the arch-commits
mailing list