diff options
author | Omar Vega Ramos <ovruni@gnu.org.pe> | 2015-07-07 13:16:00 -0500 |
---|---|---|
committer | Omar Vega Ramos <ovruni@gnu.org.pe> | 2015-07-07 13:16:00 -0500 |
commit | dcc1dd0c94fd6d7bf9d78380530b8629b1bffb63 (patch) | |
tree | f03a14a65191719bbbc5271e678c451000b2015a /pcr | |
parent | 7d4b452186dd3476ac7b9c6a772ca1f2734bbe72 (diff) | |
download | abslibre-dcc1dd0c94fd6d7bf9d78380530b8629b1bffb63.tar.gz abslibre-dcc1dd0c94fd6d7bf9d78380530b8629b1bffb63.tar.bz2 abslibre-dcc1dd0c94fd6d7bf9d78380530b8629b1bffb63.zip |
python-oslo-serialization: add new package to [pcr]
Diffstat (limited to 'pcr')
-rw-r--r-- | pcr/python-oslo-serialization/PKGBUILD | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/pcr/python-oslo-serialization/PKGBUILD b/pcr/python-oslo-serialization/PKGBUILD new file mode 100644 index 000000000..f701e36e9 --- /dev/null +++ b/pcr/python-oslo-serialization/PKGBUILD @@ -0,0 +1,40 @@ +# Maintainer (Arch): Carl George < arch at cgtx dot us > +# Maintainer: Omar Veg Ramos <ovruni@gnu.org.pe> + +_name="oslo.serialization" +_module="${_name/./-}" + +pkgname=("python-${_module}" "python2-${_module}") +pkgver="1.6.0" +pkgrel="1" +pkgdesc="Oslo Serialization library" +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=('e549ab5228f10dd13e6e1ea1f0dfe62af71de8d7df55665c37e2712ed7801595') + +package_python-oslo-serialization() { + depends=("python-babel>=1.3" + "python-six>=1.9.0" + "python-msgpack>=0.4.0" + "python-iso8601>=0.1.9" + "python-oslo-utils>=1.4.0" + "python-pbr>=0.11" + "python-pytz>=2013.6") + cd "${srcdir}/${_name}-${pkgver}" + python setup.py install --root="${pkgdir}" --optimize=1 +} + +package_python2-oslo-serialization() { + depends=("python2-babel>=1.3" + "python2-six>=1.9.0" + "python2-msgpack>=0.4.0" + "python2-iso8601>=0.1.9" + "python2-oslo-utils>=1.4.0" + "python2-pbr>=0.11" + "python2-pytz>=2013.6") + cd "${srcdir}/${_name}-${pkgver}" + python2 setup.py install --root="${pkgdir}" --optimize=1 +} |