Search Criteria
Notice: Undefined variable: name in /srv/http/vhosts/aur-dev.archlinux.org/public/web/lib/pkgfuncs.inc.php on line 248
Package Details: python2-pyjnius 1.0.3-1
Git Clone URL: | https://aur-dev.archlinux.org/python2-pyjnius.git (read-only) |
---|---|
Package Base: | python2-pyjnius |
Description: | Python module to access Java class as Python class, using JNI. |
Upstream URL: | https://github.com/kivy/pyjnius |
Licenses: | |
Submitter: | flying-sheep |
Maintainer: | flying-sheep |
Last Packager: | flying-sheep |
Votes: | 3 |
Popularity: | 0.000077 |
First Submitted: | 2012-08-20 20:31 |
Last Updated: | 2015-06-08 14:09 |
Dependencies (3)
- java-environment (java-gcj-compat, jdk6, jdk5, denix-jdk8, jdk8-openjdk-jetbrains-git, jdk7-openjdk-infinality, tuxjdk, jdk-arm, jdk8-openjdk-jetbrains, intellij-jdk, jdk8-openjdk-infinality, jdk, jdk7, jdk-devel, jdk7-openjdk, jdk8-openjdk)
- python2 (pypy19, stackless-python2, python26, placeholder)
- cython2 (cython2-kivy) (make)
Latest Comments
1 2 Next › Last »
kyonifer commented on 2016-03-26 19:17
Hey there,
I made a version for python 3 using git master (since upstream release is 4 years old now). I didn't see biloucat's package for py2 on the AUR anymore so I based it off this one.
If there's a better way to do this than creating a new package, please let me know. I'm not particularly interested in maintaining it, but it was something I needed.
flying-sheep commented on 2014-03-07 12:29
Are they usually? Anyway, there’s no problem for me :)
biloucat commented on 2014-03-07 08:14
i put "# Contributor: flying-sheep" in the PKGBUILD but it don't appear on https://aur.archlinux.org/packages/python2-pyjnius-git/ !
biloucat commented on 2014-03-06 22:37
Thanks you,
I will submit it tomorrow
flying-sheep commented on 2014-03-06 20:17
of course can you add me as contributor.
and the package looks great! i built it and see no problems.
biloucat commented on 2014-03-06 18:34
This is my first official AUR PKGBUILD, please give me your opinion on its correctness, also can i report you as a contributor ?
pkgname=python2-pyjnius-git
pkgver=1.0.3.r103.gd5d2926
pkgrel=1
pkgdesc="Python module to access Java class as Python class, using JNI."
arch=('i686' 'x86_64')
url="https://github.com/kivy/pyjnius"
license=('MIT')
depends=('java-environment' 'python2')
makedepends=('cython2' 'git')
conflicts=('python2-pyjnius')
provides=('python2-pyjnius')
source=("$pkgname"::'git://github.com/kivy/pyjnius')
md5sums=('SKIP')
pkgver() {
cd "$srcdir/$pkgname"
# Use the tag of the last commit
git describe --long | sed -E 's/([^-]*-g)/r\1/;s/-/./g'
}
build() {
cd "$srcdir/$pkgname"
python2 setup.py build_ext --inplace -f
python2 setup.py build
}
package() {
cd "$srcdir/$pkgname"
python2 setup.py install --prefix="$pkgdir/usr"
install -D -m644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}
flying-sheep commented on 2014-03-06 12:49
git version would be a new package, though.
you could ask them to tag a new version, then i’ll bump this package :)
(or base a python2-pyjnius-git package off this PKGBUILD)
biloucat commented on 2014-03-06 12:41
Oops i meant jdk 7.51-1 from AUR
seriously git version is better:
see for example https://github.com/kivy/pyjnius/commit/481b3e5d30fbf2cd09409b024ead0a1ee27fb354
flying-sheep commented on 2014-03-05 21:25
sun? java is by oracle by now.
this builds and installs flawlessly for me with default java (jdk7-openjdk)
biloucat commented on 2014-03-05 20:36
i have jdk from sun installed on arch 64bits.
Compil of python2-pyjnius fail with:
jnius/jnius.c:345:17: erreur fatale: jni.h : Aucun fichier ou dossier de ce type
#include "jni.h"
compilation terminée.
error: command 'gcc' failed with exit status 1
but if i use the git cloned version, all is Ok