Package Details: python2-pyjnius 1.1.3-1

Git Clone URL: https://aur.archlinux.org/python-pyjnius.git (read-only)
Package Base: python-pyjnius
Description: Python module to access Java class as Python class, using JNI.
Upstream URL: https://github.com/kivy/pyjnius
Licenses: MIT
Submitter: flying-sheep
Maintainer: flying-sheep
Last Packager: flying-sheep
Votes: 3
Popularity: 0.000000
First Submitted: 2017-04-06 07:44
Last Updated: 2018-11-27 15:02

Dependencies (4)

Required by (0)

Sources (1)

Latest Comments

1 2 Next › Last »

flying-sheep commented on 2018-11-28 08:27

No problem! Didn’t think this was still maintained XD

peippo commented on 2018-11-27 18:35

Thanks for the quick fix.

Regarding the coding style: I prefer clarity over non-redundance in (short) critical code such as package build instructions. This is of course a question of finding a balance, and a matter of taste to a certain extent.

I liked your code and only “dumbed it down” for debugging (while trying to figure out where cython leaked into ${pkgdir}).

The package works like a charm again - thanks!

flying-sheep commented on 2018-11-27 15:07

Fixed! If you want to help next time, please don’t change the syntax without need, and don’t remove DRY functions.

It should work now, however you need to set JAVA_HOME beforehand (for me: JAVA_HOME=/usr/lib/jvm/java-8-openjdk/ )

peippo commented on 2018-11-27 12:31

Hi!

This PKGBUILD started doing weird unexpected things: its packaged files include /usr/bin/cython and other files colliding with existing packages; makedepends are specified per sub-package, which is not (anymore?) supported by makepkg and leads to cython and cython2 not being pulled in.

Up-to-date, refactored and commented PKGBUILD at: https://hastebin.com/libixayava.bash Please update!

Thanks!

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"
}