From 1cf94c0c1006cc390897b0c9b036fb3108000961 Mon Sep 17 00:00:00 2001 From: Giacomo Longo Date: Sun, 26 Aug 2018 00:16:13 +0200 Subject: [PATCH] python-string-utils - Version 0.6.0-1 --- .SRCINFO | 14 ++++++++++++++ PKGBUILD | 22 ++++++++++++++++++++++ 2 files changed, 36 insertions(+) create mode 100644 .SRCINFO create mode 100644 PKGBUILD diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 0000000..855bce0 --- /dev/null +++ b/.SRCINFO @@ -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 + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 0000000..70994af --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,22 @@ +# Maintainer: Giacomo Longo +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')