diff options
author | Alexander Seiler | 2019-02-27 06:25:09 +0100 |
---|---|---|
committer | Alexander Seiler | 2019-02-27 06:25:09 +0100 |
commit | a27a59f92f4b84d21a64ebca0c7690b108b7fedc (patch) | |
tree | 764a7c9a72fa853e041a98f414038dd0d7263862 | |
download | aur-a27a59f92f4b84d21a64ebca0c7690b108b7fedc.tar.gz |
Initial upload: python-elementpath 1.1.5-1
-rw-r--r-- | .SRCINFO | 14 | ||||
-rw-r--r-- | PKGBUILD | 28 |
2 files changed, 42 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..d3d7844f27f0 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,14 @@ +pkgbase = python-elementpath + pkgdesc = XPath 1.0/2.0 parsers and selectors for ElementTree. + pkgver = 1.1.5 + pkgrel = 1 + url = https://pypi.org/project/elementpath + arch = any + license = MIT + makedepends = python-setuptools + depends = python + source = https://files.pythonhosted.org/packages/source/e/elementpath/elementpath-1.1.5.tar.gz + sha256sums = 94d5496fcbb0046378c1a383ae793f74cfa60a48b8fa9cc397c202b2f7d98c91 + +pkgname = python-elementpath + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..72db99098a10 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,28 @@ +# Maintainer: Alexander Seiler <seileralex@gmail.com> + +pkgname=python-elementpath +_name=${pkgname#python-} +pkgver=1.1.5 +pkgrel=1 +pkgdesc="XPath 1.0/2.0 parsers and selectors for ElementTree." +arch=('any') +url="https://pypi.org/project/${_name}" +license=('MIT') +depends=('python') +makedepends=('python-setuptools') +source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz") +sha256sums=('94d5496fcbb0046378c1a383ae793f74cfa60a48b8fa9cc397c202b2f7d98c91') + +prepare() { + cd "$_name-$pkgver" +} + +build() { + cd "$_name-$pkgver" + python setup.py build +} + +package() { + cd "$_name-$pkgver" + python setup.py install --root="$pkgdir/" --optimize=1 --skip-build +} |