Skip to content

Commit

Permalink
python-jpype1: add package
Browse files Browse the repository at this point in the history
  • Loading branch information
D3vil0p3r authored Oct 9, 2024
1 parent 4a88a6f commit a153f7d
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions packages/python-jpype1/PKGBUILD
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
# This file is part of BlackArch Linux ( https://www.blackarch.org/ ).
# See COPYING for license details.

pkgname=python-jpype1
_pkgname=${pkgname#python-}
pkgver=1.5.0
pkgrel=1
pkgdesc="Python to Java bridge, an effort to allow Python programs full access to Java class libraries"
arch=('x86_64')
url="https://github.com/jpype-project/jpype"
license=('Apache-2.0')
depends=('python' 'python-typing_extensions' 'python-packaging' 'java-runtime')
makedepends=('python-setuptools' 'ant')
conflicts=('jpype' 'python-jpype')
source=("https://github.com/jpype-project/jpype/archive/JPype1-$pkgver.tar.gz")
sha512sums=('7c3c8434dd07743d0a0b4176c13f8d82b2f042c25925912e905c92e06de30721f2b1788683f9d547bcb7b66f767f565298ead4c940d8109bc92e8c5824c8e1f5')

build() {
ls
cd "jpype-$pkgver"

python setup.py build
}

package() {
cd "jpype-$pkgver"

python setup.py install --root="$pkgdir" --optimize=1
}

0 comments on commit a153f7d

Please sign in to comment.