Date: Thursday, February 4, 2016 @ 04:11:41
  Author: fyan
Revision: 160161

archrelease: copy trunk to community-any

Added:
  python-manuel/repos/community-any/
  python-manuel/repos/community-any/PKGBUILD
    (from rev 160160, python-manuel/trunk/PKGBUILD)

----------+
 PKGBUILD |   49 +++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 49 insertions(+)

Copied: python-manuel/repos/community-any/PKGBUILD (from rev 160160, 
python-manuel/trunk/PKGBUILD)
===================================================================
--- community-any/PKGBUILD                              (rev 0)
+++ community-any/PKGBUILD      2016-02-04 03:11:41 UTC (rev 160161)
@@ -0,0 +1,49 @@
+# $Id$
+# Maintainer: Felix Yan <felixonm...@archlinux.org>
+
+pkgbase=python-manuel
+pkgname=('python-manuel' 'python2-manuel')
+pkgver=1.8.0
+pkgrel=1
+pkgdesc="Manuel lets you build tested documentation"
+arch=('any')
+license=('Apache')
+url="https://pypi.python.org/pypi/manuel";
+makedepends=('python-setuptools' 'python2-setuptools' 'git')
+checkdepends=('python-zope-testing' 'python2-zope-testing')
+source=("git+https://github.com/benji-york/manuel.git#tag=$pkgver";)
+sha512sums=('SKIP')
+
+prepare() {
+  cp -a manuel{,-py2}
+}
+
+build() {
+  cd "$srcdir/manuel"
+  python setup.py build
+
+  cd "$srcdir/manuel-py2"
+  python2 setup.py build
+}
+
+check() {
+  cd "$srcdir/manuel"
+  python setup.py test
+
+  cd "$srcdir/manuel-py2"
+  python2 setup.py test
+}
+
+package_python-manuel() {
+  depends=('python-setuptools')
+
+  cd manuel
+  python setup.py install --root="${pkgdir}" --optimize=1
+}
+
+package_python2-manuel() {
+  depends=('python2-setuptools')
+
+  cd manuel-py2
+  python2 setup.py install --root="${pkgdir}" --optimize=1
+}

Reply via email to