diff options
author | Morten Linderud | 2021-04-24 13:48:28 +0200 |
---|---|---|
committer | Morten Linderud | 2021-04-24 13:48:28 +0200 |
commit | b90a8704c391823c7dcf2d6af777137db259c4c1 (patch) | |
tree | 710a8abe5b9153cf4608cab783af6a4274267c1c | |
download | aur-b90a8704c391823c7dcf2d6af777137db259c4c1.tar.gz |
import from community
-rw-r--r-- | .SRCINFO | 14 | ||||
-rw-r--r-- | PKGBUILD | 20 |
2 files changed, 34 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..2225fe2da7f6 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,14 @@ +pkgbase = python2-pathlib + pkgdesc = This module offers a set of classes featuring all the common operations on paths in an easy, object-oriented way + pkgver = 1.0.1 + pkgrel = 5 + url = https://pathlib.readthedocs.org/en/1.0.1/ + arch = any + license = MIT + makedepends = python2-setuptools + depends = python2 + source = https://files.pythonhosted.org/packages/source/p/pathlib/pathlib-1.0.1.tar.gz + sha512sums = d85e45dfcc85ce75a7e7b609163dc8c75c688f279c1833510185f280af5501e473376dc09bddc6a804d1fcc3177a939db85af37b7b8d5b183b9bc2b85b3b0f8b + +pkgname = python2-pathlib + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..08867abda4d8 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,20 @@ +# Maintainer: Felix Yan <felixonmars@archlinux.org> +# Contributor: vae77 <fernandogrd@yahoo.com.br> + +pkgname=python2-pathlib +pkgver=1.0.1 +pkgrel=5 +pkgdesc="This module offers a set of classes featuring all the common operations on paths in an easy, object-oriented way" +arch=('any') +url="https://pathlib.readthedocs.org/en/${pkgver}/" +license=('MIT') +depends=('python2') +makedepends=('python2-setuptools') +source=("https://files.pythonhosted.org/packages/source/p/pathlib/pathlib-${pkgver}.tar.gz") +sha512sums=('d85e45dfcc85ce75a7e7b609163dc8c75c688f279c1833510185f280af5501e473376dc09bddc6a804d1fcc3177a939db85af37b7b8d5b183b9bc2b85b3b0f8b') + +package() { + cd "$srcdir/pathlib-$pkgver" + python2 setup.py install --root="$pkgdir/" --optimize=1 + install -Dm644 LICENSE.txt "$pkgdir/usr/share/licenses/$pkgname/LICENSE.txt" +} |