-
-
Notifications
You must be signed in to change notification settings - Fork 590
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
30 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
} | ||
|