summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrançois Magimel2015-07-09 10:55:37 +0200
committerFrançois Magimel2015-07-09 10:55:37 +0200
commitb6d735836ff4dc1bbed7b5cecc2a7594fa1912b2 (patch)
tree9dbe3046cd73c37f52c95bfc6e027d845f6b94ae
downloadaur-python2-oslo-messaging.tar.gz
Initial import
-rw-r--r--.SRCINFO22
-rw-r--r--PKGBUILD37
2 files changed, 59 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..9c263d10dc4
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,22 @@
+pkgbase = python2-oslo-messaging
+ pkgdesc = Oslo Messaging API
+ pkgver = 1.3.1
+ pkgrel = 2
+ url = https://pypi.python.org/pypi/oslo.messaging/
+ arch = any
+ license = Apache
+ makedepends = python2-setuptools
+ depends = python2
+ depends = python2-babel>=1.3
+ depends = python2-eventlet>=0.13.0
+ depends = python2-iso8601>=0.1.9
+ depends = python2-kombu>=2.4.8
+ depends = python2-oslo-config>=1.2.0
+ depends = python2-six>=1.6.0
+ depends = python2-stevedore>=0.14
+ depends = python2-yaml>=3.1.0
+ source = https://pypi.python.org/packages/source/o/oslo.messaging/oslo.messaging-1.3.1.tar.gz
+ md5sums = ea5fd4c62c514f5102f66815fad35da6
+
+pkgname = python2-oslo-messaging
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..dd43f377bc2
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,37 @@
+# Maintainer: François Magimel <magimel.francois@gmail.com>
+# Contributor: James Bulmer <nekinie@gmail.com>
+
+pkgname="python2-oslo-messaging"
+_pkgname="oslo.messaging"
+pkgver=1.3.1
+pkgrel=2
+pkgdesc="Oslo Messaging API"
+arch=("any")
+url="https://pypi.python.org/pypi/oslo.messaging/"
+license=("Apache")
+
+depends=(
+ "python2"
+ "python2-babel>=1.3"
+ "python2-eventlet>=0.13.0"
+ "python2-iso8601>=0.1.9"
+ "python2-kombu>=2.4.8"
+ "python2-oslo-config>=1.2.0"
+ "python2-six>=1.6.0"
+ "python2-stevedore>=0.14"
+ "python2-yaml>=3.1.0"
+)
+
+makedepends=("python2-setuptools")
+source=("https://pypi.python.org/packages/source/o/${_pkgname}/${_pkgname}-${pkgver}.tar.gz")
+md5sums=('ea5fd4c62c514f5102f66815fad35da6')
+
+build() {
+ cd "${srcdir}/${_pkgname}-${pkgver}/"
+ python2 setup.py build
+}
+
+package() {
+ cd "${srcdir}/${_pkgname}-${pkgver}/"
+ python2 setup.py install --root="${pkgdir}/" --optimize=1
+}