[arch-commits] Commit in python-furl/repos (2 files)
Evangelos Foutras
foutrelis at archlinux.org
Mon Nov 9 16:52:53 UTC 2020
Date: Monday, November 9, 2020 @ 16:52:53
Author: foutrelis
Revision: 747648
archrelease: copy trunk to community-staging-any
Added:
python-furl/repos/community-staging-any/
python-furl/repos/community-staging-any/PKGBUILD
(from rev 747646, python-furl/trunk/PKGBUILD)
----------+
PKGBUILD | 36 ++++++++++++++++++++++++++++++++++++
1 file changed, 36 insertions(+)
Copied: python-furl/repos/community-staging-any/PKGBUILD (from rev 747646, python-furl/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2020-11-09 16:52:53 UTC (rev 747648)
@@ -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=4
+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