[arch-commits] Commit in python-urlobject/repos (2 files)
Felix Yan
felixonmars at archlinux.org
Tue Nov 10 04:08:37 UTC 2020
Date: Tuesday, November 10, 2020 @ 04:08:37
Author: felixonmars
Revision: 748515
archrelease: copy trunk to community-staging-any
Added:
python-urlobject/repos/community-staging-any/
python-urlobject/repos/community-staging-any/PKGBUILD
(from rev 748512, python-urlobject/trunk/PKGBUILD)
----------+
PKGBUILD | 30 ++++++++++++++++++++++++++++++
1 file changed, 30 insertions(+)
Copied: python-urlobject/repos/community-staging-any/PKGBUILD (from rev 748512, python-urlobject/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2020-11-10 04:08:37 UTC (rev 748515)
@@ -0,0 +1,30 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-urlobject
+pkgver=2.4.3
+pkgrel=4
+pkgdesc="A utility class for manipulating URLs"
+url="https://github.com/zacharyvoase/urlobject"
+license=('custom:Unlicense')
+arch=('any')
+depends=('python')
+makedepends=('python-setuptools')
+checkdepends=('python-nose')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/zacharyvoase/urlobject/archive/v$pkgver.tar.gz")
+sha512sums=('2bd08ba5695c8277eeed154d7f414939e8b471e83f1fc6b9db93931f8e49dea4583036b0b7fb8d820e0b214bdc4bf2fe78987eb6a5c63ba70611aea6365c2972')
+
+build() {
+ cd urlobject-$pkgver
+ python setup.py build
+}
+
+check() {
+ cd urlobject-$pkgver
+ python setup.py nosetests
+}
+
+package() {
+ cd urlobject-$pkgver
+ python setup.py install --root="$pkgdir" --optimize=1
+ install -Dm644 UNLICENSE "$pkgdir"/usr/share/licenses/$pkgname/UNLICENSE
+}
More information about the arch-commits
mailing list