summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorKartik Mohta2017-05-31 20:22:56 -0400
committerKartik Mohta2017-05-31 20:22:56 -0400
commit7467d5aa378a9a254af8594966ea41e1a59c90f1 (patch)
tree99e8512cb7c29e609cb62fd5701a41a8425f085f
downloadaur-7467d5aa378a9a254af8594966ea41e1a59c90f1.tar.gz
Initial commit
-rw-r--r--.SRCINFO28
-rw-r--r--PKGBUILD39
2 files changed, 67 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..5d34f01fe6d
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,28 @@
+# Generated by mksrcinfo v8
+# Thu Jun 1 00:21:22 UTC 2017
+pkgbase = python-catkin_pkg
+ pkgdesc = catkin package library
+ pkgver = 0.3.4
+ pkgrel = 1
+ url = http://wiki.ros.org/catkin_pkg
+ arch = any
+ license = BSD
+ makedepends = python-setuptools
+ makedepends = python2-setuptools
+ source = https://files.pythonhosted.org/packages/source/c/catkin_pkg/catkin_pkg-0.3.4.tar.gz
+ md5sums = 0d121b798a47d740745b17528fe6b0cd
+
+pkgname = python-catkin_pkg
+ depends =
+ depends = python
+ depends = python-argparse
+ depends = python-dateutil
+ depends = python-docutils
+
+pkgname = python2-catkin_pkg
+ depends =
+ depends = python2
+ depends = python2-argparse
+ depends = python2-dateutil
+ depends = python2-docutils
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..6341a03c037
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,39 @@
+# Maintainer: Kartik Mohta <kartikmohta@gmail.com>
+
+pkgbase=('python-catkin_pkg')
+pkgname=('python-catkin_pkg' 'python2-catkin_pkg')
+_module='catkin_pkg'
+pkgver='0.3.4'
+pkgrel=1
+pkgdesc="catkin package library"
+url="http://wiki.ros.org/catkin_pkg"
+depends=()
+makedepends=('python-setuptools' 'python2-setuptools')
+license=('BSD')
+arch=('any')
+source=("https://files.pythonhosted.org/packages/source/c/catkin_pkg/catkin_pkg-${pkgver}.tar.gz")
+md5sums=('0d121b798a47d740745b17528fe6b0cd')
+
+prepare() {
+ cp -a "${srcdir}/${_module}-${pkgver}"{,-python2}
+}
+
+build() {
+ cd "${srcdir}/${_module}-${pkgver}"
+ python setup.py build
+
+ cd "${srcdir}/${_module}-${pkgver}-python2"
+ python2 setup.py build
+}
+
+package_python-catkin_pkg() {
+ depends+=('python' 'python-argparse' 'python-dateutil' 'python-docutils')
+ cd "${srcdir}/${_module}-${pkgver}"
+ python setup.py install --root="${pkgdir}" --optimize=1 --skip-build
+}
+
+package_python2-catkin_pkg() {
+ depends+=('python2' 'python2-argparse' 'python2-dateutil' 'python2-docutils')
+ cd "${srcdir}/${_module}-${pkgver}-python2"
+ python2 setup.py install --root="${pkgdir}" --optimize=1 --skip-build
+}