Add 'python-pathlib/' from commit '1d47dad0a3b915c6ee3ef0d7c49fda8b75b92a7e'

git-subtree-dir: python-pathlib
git-subtree-mainline: 423a90f4c5
git-subtree-split: 1d47dad0a3
This commit is contained in:
Cedric Girard 2019-02-14 15:26:37 +01:00
commit e70f2e21ac
2 changed files with 36 additions and 0 deletions

14
python-pathlib/.SRCINFO Normal file
View file

@ -0,0 +1,14 @@
pkgbase = python-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 = 1
url = http://pathlib.readthedocs.org/en/1.0.1/
arch = any
license = MIT
makedepends = python-setuptools
depends = python
source = https://pypi.io/packages/source/p/pathlib/pathlib-1.0.1.tar.gz
md5sums = 5099ed48be9b1ee29b31c82819240537
pkgname = python-pathlib

22
python-pathlib/PKGBUILD Normal file
View file

@ -0,0 +1,22 @@
# Maintainer: Cedric Girard <girard.cedric@gmail.com>
# Contributor: Felix Yan <felixonmars@archlinux.org>
# Contributor: vae77 <fernandogrd@yahoo.com.br>
_pythonmod=pathlib
pkgname=python-pathlib
pkgver=1.0.1
pkgrel=1
pkgdesc="This module offers a set of classes featuring all the common operations on paths in an easy, object-oriented way"
arch=('any')
url="http://pathlib.readthedocs.org/en/${pkgver}/"
license=('MIT')
depends=('python')
makedepends=('python-setuptools')
source=("https://pypi.io/packages/source/${_pythonmod:0:1}/${_pythonmod}/${_pythonmod}-$pkgver.tar.gz")
md5sums=('5099ed48be9b1ee29b31c82819240537')
package() {
cd "$srcdir/pathlib-$pkgver"
python setup.py install --root="$pkgdir/" --optimize=1
install -Dm644 LICENSE.txt "$pkgdir/usr/share/licenses/$pkgname/LICENSE.txt"
}