diff options
author | Eric Mikulin | 2018-03-17 15:16:27 -0700 |
---|---|---|
committer | Eric Mikulin | 2018-03-17 15:16:27 -0700 |
commit | 61053527424dda0aefaddc4a490aa57edd8f54f2 (patch) | |
tree | ca224e10d24bfeff3584e53ae36ae0087dfa2834 | |
download | aur-61053527424dda0aefaddc4a490aa57edd8f54f2.tar.gz |
Initial commit containg PKGBUILD and .SRCINFO
-rw-r--r-- | .SRCINFO | 14 | ||||
-rw-r--r-- | PKGBUILD | 17 |
2 files changed, 31 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..c8e8cd0fc7c6 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,14 @@ +pkgbase = python-osmapi + pkgdesc = Python wrapper for the OSM API + pkgver = 1.1.0 + pkgrel = 1 + url = https://pypi.python.org/pypi/osmapi + arch = any + license = GPL + makedepends = python-setuptools + depends = python + source = https://files.pythonhosted.org/packages/source/o/osmapi/osmapi-1.1.0.tar.gz + sha256sums = 9ad6c6df2e2727db82ad67560f420f67eb9e96408e1838962ceb131fb7267eff + +pkgname = python-osmapi + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..f8548e36d3eb --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,17 @@ +_name=osmapi +pkgname=python-osmapi +pkgver=1.1.0 +pkgrel=1 +pkgdesc='Python wrapper for the OSM API' +arch=(any) +url="https://pypi.python.org/pypi/$_name" +license=(GPL) +depends=(python) +makedepends=(python-setuptools) +source=("https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz") +sha256sums=('9ad6c6df2e2727db82ad67560f420f67eb9e96408e1838962ceb131fb7267eff') + +package() { + cd "$srcdir/$_name-$pkgver" + python setup.py install --root="$pkgdir" --optimize=1 || return 1 +} |