[arch-commits] Commit in python-furl/repos/community-any (PKGBUILD PKGBUILD)
David Runge
dvzrv at archlinux.org
Sat Sep 21 13:15:30 UTC 2019
Date: Saturday, September 21, 2019 @ 13:15:29
Author: dvzrv
Revision: 511362
archrelease: copy trunk to community-any
Added:
python-furl/repos/community-any/PKGBUILD
(from rev 511361, python-furl/trunk/PKGBUILD)
Deleted:
python-furl/repos/community-any/PKGBUILD
----------+
PKGBUILD | 90 ++++++++++++++++++++++++-------------------------------------
1 file changed, 36 insertions(+), 54 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2019-09-21 13:15:23 UTC (rev 511361)
+++ PKGBUILD 2019-09-21 13:15:29 UTC (rev 511362)
@@ -1,54 +0,0 @@
-# Maintainer: David Runge <dave at sleepmap.de>
-# Contributor: Husam Bilal <husam212 AT gmail DOT com>
-
-_name=furl
-pkgbase=python-furl
-pkgname=('python-furl' 'python2-furl')
-pkgver=2.0.0
-pkgrel=1
-pkgdesc="A small Python library that makes parsing and manipulating URLs easy"
-url="https://github.com/gruns/furl"
-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://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz")
-sha512sums=('748ab52ee6745aec6c3dfe203f2ce73ef64ffa2f43d05df43c3d8fde58964bdabf8d690869f65696d934e2e78a7d10c4021ea33ea3d02a0e58e5119426d6b47c')
-
-prepare() {
- mv -v "${_name}-${pkgver}" "${pkgbase}-${pkgver}"
-}
-
-build() {
- cd "${pkgbase}-${pkgver}"
- python setup.py build
- python2 setup.py build
-}
-
-check() {
- cd "${pkgbase}-${pkgver}"
- python setup.py test
- python2 setup.py test
-}
-
-package_python-furl() {
- depends=('python-six' 'python-orderedmultidict')
- cd "${pkgbase}-${pkgver}"
- python setup.py install --skip-build \
- --optimize=1 \
- --prefix=/usr \
- --root="${pkgdir}"
- 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 "${pkgbase}-${pkgver}"
- python2 setup.py install --skip-build \
- --optimize=1 \
- --prefix=/usr \
- --root="${pkgdir}"
- install -vDm 644 LICENSE.md "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
- install -t "${pkgdir}/usr/share/doc/${pkgname}" -vDm 644 {API,README}.md
-}
Copied: python-furl/repos/community-any/PKGBUILD (from rev 511361, python-furl/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2019-09-21 13:15:29 UTC (rev 511362)
@@ -0,0 +1,36 @@
+# Maintainer: David Runge <dave at sleepmap.de>
+# Contributor: Husam Bilal <husam212 AT gmail DOT com>
+
+_name=furl
+pkgname=python-furl
+pkgver=2.1.0
+pkgrel=1
+pkgdesc="A small Python library that makes parsing and manipulating URLs easy"
+url="https://github.com/gruns/furl"
+depends=('python-orderedmultidict' 'python-six')
+makedepends=('python-setuptools')
+checkdepends=('flake8' 'python-pycodestyle' 'python-pyflakes')
+license=('custom:Unlicense')
+arch=('any')
+source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz")
+sha512sums=('c7de9c87e5368a3ccb7c0639b9c679b3c71ac75144f275b2491e88d361bfca8612b3b23e76e538a98b02c1666e2dac000cb9f5add2e97d240cead7f40a1411ca')
+
+build() {
+ cd "${_name}-${pkgver}"
+ python setup.py build
+}
+
+check() {
+ cd "${_name}-${pkgver}"
+ python setup.py test
+}
+
+package() {
+ cd "${_name}-${pkgver}"
+ python setup.py install --skip-build \
+ --optimize=1 \
+ --prefix=/usr \
+ --root="${pkgdir}"
+ install -vDm 644 LICENSE.md -t "${pkgdir}/usr/share/licenses/${pkgname}"
+ install -vDm 644 {API,README}.md -t "${pkgdir}/usr/share/doc/${pkgname}"
+}
More information about the arch-commits
mailing list