summaryrefslogtreecommitdiff
path: root/pcr/python-novaclient/PKGBUILD
diff options
context:
space:
mode:
authorOmar Vega Ramos <ovruni@gnu.org.pe>2016-03-05 11:16:07 -0500
committerOmar Vega Ramos <ovruni@gnu.org.pe>2016-03-05 11:16:07 -0500
commit328c164985a737a44b1d20c36286a329d814be72 (patch)
treee3761b30da42cd0fe1d99901aa2439209e0a8ef8 /pcr/python-novaclient/PKGBUILD
parentbd53fb882bcfafc49ffeb6f83ea1df6df97c2a61 (diff)
downloadabslibre-328c164985a737a44b1d20c36286a329d814be72.tar.gz
abslibre-328c164985a737a44b1d20c36286a329d814be72.tar.bz2
abslibre-328c164985a737a44b1d20c36286a329d814be72.zip
Removing python-novaclient: This package is in [community] repo
Diffstat (limited to 'pcr/python-novaclient/PKGBUILD')
-rw-r--r--pcr/python-novaclient/PKGBUILD59
1 files changed, 0 insertions, 59 deletions
diff --git a/pcr/python-novaclient/PKGBUILD b/pcr/python-novaclient/PKGBUILD
deleted file mode 100644
index 98842b199..000000000
--- a/pcr/python-novaclient/PKGBUILD
+++ /dev/null
@@ -1,59 +0,0 @@
-# Maintainer (Arch): Carl George < arch at cgtx dot us >
-# Contributor (Arch): Troy C < rstrox -ta yahoo -tod com >
-# Maintainer: Omar Vega Ramos <ovruni@gnu.org.pe>
-
-_name="python-novaclient"
-_module="${_name#python-}"
-_cmd="${_module%client}"
-
-pkgname=("python-${_module}" "python2-${_module}")
-pkgver="2.26.0"
-pkgrel="1"
-pkgdesc="Client library for OpenStack Compute API"
-arch=("any")
-url="https://github.com/openstack/${_name}"
-license=("Apache")
-makedepends=("python-pbr>=0.11" "python2-pbr>=0.11")
-source=("https://pypi.python.org/packages/source/${_name:0:1}/${_name}/${_name}-${pkgver}.tar.gz")
-sha256sums=('725e28e981422e051352a76947dfab05838ee687f3c73a6524d64be8af8a900f')
-
-prepare() {
- cd "${srcdir}/${_name}-${pkgver}"
- sed -ri '/argparse/d' requirements.txt
-}
-
-package_python-novaclient() {
- depends=("python-babel>=1.3"
- "python-iso8601>=0.1.9"
- "python-keystoneclient>=1.3.0"
- "python-oslo-i18n>=1.5.0"
- "python-oslo-serialization>=1.4.0"
- "python-oslo-utils>=1.4.0"
- "python-pbr>=0.11"
- "python-prettytable>=0.7"
- "python-requests>=2.5.2"
- "python-simplejson>=2.2.0"
- "python-six>=1.9.0")
- cd "${srcdir}/${_name}-${pkgver}"
- python setup.py install --root="${pkgdir}" --optimize=1
- install -Dm644 "tools/${_cmd}.bash_completion" "${pkgdir}/usr/share/bash-completion/completions/${_cmd}"
-}
-
-package_python2-novaclient() {
- depends=("python2-babel>=1.3"
- "python2-iso8601>=0.1.9"
- "python2-keystoneclient>=1.3.0"
- "python2-oslo-i18n>=1.5.0"
- "python2-oslo-serialization>=1.4.0"
- "python2-oslo-utils>=1.4.0"
- "python2-pbr>=0.11"
- "python2-prettytable>=0.7"
- "python2-requests>=2.5.2"
- "python2-simplejson>=2.2.0"
- "python2-six>=1.9.0")
- cd "${srcdir}/${_name}-${pkgver}"
- python2 setup.py install --root="${pkgdir}" --optimize=1
- mv "${pkgdir}/usr/bin/${_cmd}" "${pkgdir}/usr/bin/${_cmd}2"
- install -Dm644 "tools/${_cmd}.bash_completion" "${pkgdir}/usr/share/bash-completion/completions/${_cmd}2"
- sed -i '/complete -F/ s/$/2/' "${pkgdir}/usr/share/bash-completion/completions/${_cmd}2"
-}