Add 'python-string-utils/' from commit '1cf94c0c1006cc390897b0c9b036fb3108000961'
git-subtree-dir: python-string-utils git-subtree-mainline:b887c67fd6
git-subtree-split:1cf94c0c10
This commit is contained in:
commit
cce713e38e
2 changed files with 36 additions and 0 deletions
14
python-string-utils/.SRCINFO
Normal file
14
python-string-utils/.SRCINFO
Normal file
|
@ -0,0 +1,14 @@
|
||||||
|
pkgbase = python-string-utils
|
||||||
|
pkgdesc = Utility functions for strings checking and manipulation
|
||||||
|
pkgver = 0.6.0
|
||||||
|
pkgrel = 1
|
||||||
|
url = https://github.com/openshift/openshift-restclient-python
|
||||||
|
arch = any
|
||||||
|
license = APACHE
|
||||||
|
makedepends = python-setuptools
|
||||||
|
depends = python
|
||||||
|
source = https://files.pythonhosted.org/packages/source/p/python-string-utils/python-string-utils-0.6.0.tar.gz
|
||||||
|
md5sums = 76ae6911f4bf0f1e76cd9be749c16745
|
||||||
|
|
||||||
|
pkgname = python-string-utils
|
||||||
|
|
22
python-string-utils/PKGBUILD
Normal file
22
python-string-utils/PKGBUILD
Normal file
|
@ -0,0 +1,22 @@
|
||||||
|
# Maintainer: Giacomo Longo <gabibbo97@gmail.com>
|
||||||
|
pkgname=python-string-utils
|
||||||
|
pkgver=0.6.0
|
||||||
|
pkgrel=1
|
||||||
|
pkgdesc="Utility functions for strings checking and manipulation"
|
||||||
|
url="https://github.com/openshift/openshift-restclient-python"
|
||||||
|
license=('APACHE')
|
||||||
|
source=("https://files.pythonhosted.org/packages/source/${pkgname::1}/${pkgname}/${pkgname}-${pkgver}.tar.gz")
|
||||||
|
arch=('any')
|
||||||
|
makedepends=('python-setuptools')
|
||||||
|
depends=('python')
|
||||||
|
|
||||||
|
build() {
|
||||||
|
cd "$srcdir/$pkgname-$pkgver"
|
||||||
|
python setup.py build
|
||||||
|
}
|
||||||
|
|
||||||
|
package() {
|
||||||
|
cd "$srcdir/$pkgname-$pkgver"
|
||||||
|
python setup.py install --root="$pkgdir/" --optimize=1 --skip-build
|
||||||
|
}
|
||||||
|
md5sums=('76ae6911f4bf0f1e76cd9be749c16745')
|
Loading…
Reference in a new issue