[arch-commits] Commit in jupymake (3 files)

Antonio Rojas arojas at archlinux.org
Sun May 19 09:29:57 UTC 2019


    Date: Sunday, May 19, 2019 @ 09:29:57
  Author: arojas
Revision: 467949

archrelease: copy trunk to community-x86_64

Added:
  jupymake/repos/
  jupymake/repos/community-x86_64/
  jupymake/repos/community-x86_64/PKGBUILD
    (from rev 467948, jupymake/trunk/PKGBUILD)

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

Copied: jupymake/repos/community-x86_64/PKGBUILD (from rev 467948, jupymake/trunk/PKGBUILD)
===================================================================
--- repos/community-x86_64/PKGBUILD	                        (rev 0)
+++ repos/community-x86_64/PKGBUILD	2019-05-19 09:29:57 UTC (rev 467949)
@@ -0,0 +1,40 @@
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+
+_name=JuPyMake
+pkgbase=jupymake
+pkgname=(python-jupymake python2-jupymake)
+pkgver=0.9
+pkgrel=1
+pkgdesc="A Python interface to Polymake"
+arch=(x86_64)
+url="https://github.com/sebasguts/JuPyMake"
+license=(GPL2)
+makedepends=(python-setuptools python2-setuptools polymake)
+source=("https://pypi.python.org/packages/source/${_name:0:1}/${_name}/${_name}-${pkgver}.tar.gz")
+sha256sums=('4c756cd6a6056a20cd71f7b5e463c79dad0257241bbd32a40b750882fafdb545')
+
+prepare() {
+  cp -r $_name-$pkgver{,-py2}
+}
+
+build() {
+  cd $_name-$pkgver
+  python setup.py build
+
+  cd ../$_name-$pkgver-py2
+  python2 setup.py build
+}
+
+package_python-jupymake() {
+  depends=(python polymake)
+
+  cd $_name-$pkgver
+  python setup.py install --skip-build --prefix=/usr --root="$pkgdir" --optimize=1
+}
+
+package_python2-jupymake() {
+  depends=(python2 polymake)
+
+  cd $_name-$pkgver-py2    
+  python2 setup.py install --skip-build --prefix=/usr --root="$pkgdir" --optimize=1
+}



More information about the arch-commits mailing list