mirror of
https://github.com/netbirdio/FreeBSD-ports.git
synced 2026-05-22 18:42:42 -07:00
java/eclipse-pydev: resurrect port
This commits resurrects java/eclipse-pydev, updates to latest version and fixes python version PR: 254194 Submitted by: mizhka Approved by: lwhsu Sponsored by: Postgres Professional
This commit is contained in:
@@ -15488,7 +15488,6 @@ graphics/py-editobj||2020-09-19|Has expired: Uses deprecated version of python
|
||||
graphics/pymorph||2020-09-19|Has expired: Uses deprecated version of python
|
||||
graphics/tilecache||2020-09-19|Has expired: Uses deprecated version of python
|
||||
japanese/mailman||2020-09-19|Has expired: Uses deprecated version of python
|
||||
java/eclipse-pydev||2020-09-19|Has expired: Uses deprecated version of python
|
||||
lang/cdent||2020-09-19|Has expired: Uses deprecated version of python
|
||||
lang/julia06|lang/julia10|2020-09-19|Has expired: Uses deprecated version of python
|
||||
lang/julia07|lang/julia10|2020-09-19|Has expired: Uses deprecated version of python
|
||||
|
||||
@@ -34,6 +34,7 @@
|
||||
SUBDIR += eclipse-drjava
|
||||
SUBDIR += eclipse-ecj
|
||||
SUBDIR += eclipse-findbugs
|
||||
SUBDIR += eclipse-pydev
|
||||
SUBDIR += eclipse-shelled
|
||||
SUBDIR += hamcrest
|
||||
SUBDIR += icedtea-web
|
||||
|
||||
@@ -0,0 +1,44 @@
|
||||
# Created by: Nicola Vitale <nivit@FreeBSD.org>
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= pydev
|
||||
PORTVERSION= 8.2.0
|
||||
CATEGORIES= java devel python
|
||||
MASTER_SITES= https://github.com/fabioz/Pydev/releases/download/${PORTNAME}_8_2_0/
|
||||
PKGNAMEPREFIX= eclipse-
|
||||
DISTNAME= PyDev.${PORTVERSION}
|
||||
|
||||
MAINTAINER= mizhka@FreeBSD.org
|
||||
COMMENT= Eclipse plugin for Python and Jython development
|
||||
|
||||
LICENSE= EPL
|
||||
|
||||
RUN_DEPENDS= ${LOCALBASE}/bin/eclipse:java/eclipse
|
||||
|
||||
USES= python zip
|
||||
|
||||
JYTHON_DESC= Use Jython as Python interpreter
|
||||
OPTIONS_DEFINE= JYTHON
|
||||
|
||||
USE_JAVA= YES
|
||||
JAVA_OS= native
|
||||
JAVA_RUN= YES
|
||||
JAVA_VERSION= 1.8+
|
||||
|
||||
NO_BUILD= YES
|
||||
NO_WRKSUBDIR= YES
|
||||
|
||||
PLUGINDIR= share/eclipse/dropins/${PORTNAME}/eclipse/plugins
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
.if ${PORT_OPTIONS:MJYTHON}
|
||||
RUN_DEPENDS+= jython:lang/jython
|
||||
.endif
|
||||
|
||||
PLUGINDIR= share/eclipse/dropins/${PORTNAME}/eclipse
|
||||
|
||||
do-install:
|
||||
@(cd ${WRKSRC} && ${COPYTREE_SHARE} "features plugins" ${STAGEDIR}${PREFIX}/${PLUGINDIR})
|
||||
|
||||
.include <bsd.port.mk>
|
||||
@@ -0,0 +1,3 @@
|
||||
TIMESTAMP = 1615382778
|
||||
SHA256 (PyDev.8.2.0.zip) = 5b5a5e576c0b339c00bc7c7b6db039ff23ef6e67f3c93af31c13d6dd7ccd6c83
|
||||
SIZE (PyDev.8.2.0.zip) = 27131346
|
||||
@@ -0,0 +1,9 @@
|
||||
#!/bin/sh
|
||||
#
|
||||
# $FreeBSD$
|
||||
|
||||
|
||||
[ "$2" != "POST-INSTALL" ] && exit 0
|
||||
|
||||
echo %%PREFIX%%
|
||||
touch -cm %%PREFIX%%/share/eclipse/dropins/%%PLUGIN%%/
|
||||
@@ -0,0 +1,6 @@
|
||||
PyDev is a plugin that enables users to use Eclipse for Python and Jython
|
||||
development -- making Eclipse a first class Python IDE -- It comes with
|
||||
many goodies such as code completion, syntax highlighting, syntax analysis,
|
||||
refactor, debug and many others.
|
||||
|
||||
WWW: http://www.pydev.org/
|
||||
@@ -0,0 +1,15 @@
|
||||
[
|
||||
{ type: install
|
||||
message: <<EOM
|
||||
The first time, run Eclipse with the option -clean, and configure
|
||||
a Python or Jython interpreter in Window -> Preferences -> PyDev
|
||||
-> Interpreter before creating a new Pydev project
|
||||
|
||||
If you don't see the Pydev perspective in Eclipse, run the command
|
||||
|
||||
eclipse -consoleLog -initialize
|
||||
|
||||
as root or sudoer.
|
||||
EOM
|
||||
}
|
||||
]
|
||||
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user