1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-17 19:39:43 +00:00

eric6: Revert removal.

This reverts commits
* e6fa82f132
* fb41f4077d
* 75b955057c (eric6 part)

Requested by:	fluffy, tcberner
This commit is contained in:
Rene Ladan 2022-01-01 14:04:44 +01:00
parent 3ce791914c
commit e2b444d89a
19 changed files with 255 additions and 4 deletions

4
MOVED
View File

@ -16724,7 +16724,6 @@ www/py-dj31-django-mptt||2021-12-31|Has expired: Extended support of Django 3.1
net/py-flask-xml-rpc||2021-12-31|Has expired: No longer maintained upstream
audio/libaacplus||2021-12-31|Has expired: Abandoned upstream, no new release since 2011
security/obfsclient||2021-12-31|Has expired: https://github.com/Yawning/obfsclient/issues/37
devel/eric6||2021-12-31|Has expired: Uses EOL Python 2.7 via www/py-qt5-webengine
www/grafana||2021-12-31|Has expired: No longer maintained upstream, use www/grafana8
www/py-dj31-django-auth-ldap||2021-12-31|Has expired: Extended support of Django 3.1 ends December 2021, upgrade to the Django 3.2+ version of this port. See https://www.djangoproject.com/download/
www/py-dj31-django-filter||2021-12-31|Has expired: Extended support of Django 3.1 ends December 2021, upgrade to the Django 3.2+ version of this port. See https://www.djangoproject.com/download/
@ -16758,9 +16757,6 @@ www/py-dj31-django-redis||2021-12-31|Has expired: Extended support of Django 3.1
devel/py-dj31-django-rq||2021-12-31|Has expired: Extended support of Django 3.1 ends December 2021, upgrade to the Django 3.2+ version of this port. See https://www.djangoproject.com/download/
graphics/libreatlas||2021-12-31|Has expired: Abandoned upstream, no new release since 2012
www/py-dj31-djangorestframework||2021-12-31|Has expired: Extended support of Django 3.1 ends December 2021, upgrade to the Django 3.2+ version of this port. See https://www.djangoproject.com/download/
devel/es-eric6||2021-12-31|Slave of expired devel/eric6
german/eric6||2021-12-31|Slave of expired devel/eric6
russian/eric6||2021-12-31|Slave of expired devel/eric6
astro/google-earth||2022-01-01|Has expired: Needs newer version to connect to server
net/tramp||2022-01-01|Has expired: Not updated in 5 years and now part of Emacs
archivers/p7zip-codec-rar||2022-01-01|Has expired: Unmaintained for years and has known vulnerabilities

View File

@ -613,6 +613,7 @@
SUBDIR += envsubst
SUBDIR += epl.el
SUBDIR += epm
SUBDIR += eric6
SUBDIR += eris
SUBDIR += erlang-backoff
SUBDIR += erlang-bbmustache
@ -652,6 +653,7 @@
SUBDIR += erlang-ssl_verify_fun
SUBDIR += erlang-syslog
SUBDIR += erlang-unicode_util_compat
SUBDIR += es-eric6
SUBDIR += esbuild
SUBDIR += estd
SUBDIR += etcd

80
devel/eric6/Makefile Normal file
View File

@ -0,0 +1,80 @@
# Created by: Boris Samorodov <bsam@FreeBSD.org>
.include "${.CURDIR}/../../devel/eric6/bsd.eric6.mk"
PKGNAMESUFFIX= -qt5-${FLAVOR:U:S/_/-/}
DISTNAME= ${PORTNAME}-nolang-${DISTVERSION}
PORTREVISION= 0
CATEGORIES= devel python
DEPRECATED= Uses EOL Python 2.7 via www/py-qt5-webengine
EXPIRATION_DATE=2021-12-31
BUILD_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}pip>0:devel/py-pip@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}toml>=0:textproc/py-toml@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}virtualenv>=15.2:devel/py-virtualenv@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}docutils>=0.14:textproc/py-docutils@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}editorconfig>=0.12.0:editors/py-editorconfig@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}send2trash>=1.5:deskutils/py-send2trash@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}asttokens>=1.1:devel/py-asttokens@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}markdown>=2.3.1:textproc/py-markdown@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}enchant>=0:textproc/py-enchant@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}yaml>0:devel/py-yaml@${PY_FLAVOR}
RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}sqlite3>0:databases/py-sqlite3@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}toml>=0:textproc/py-toml@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}virtualenv>=15.2:devel/py-virtualenv@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}docutils>=0.14:textproc/py-docutils@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}editorconfig>=0.12.0:editors/py-editorconfig@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}send2trash>=1.5:deskutils/py-send2trash@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}asttokens>=1.1:devel/py-asttokens@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}markdown>=2.3.1:textproc/py-markdown@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}enchant>=0:textproc/py-enchant@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}yaml>0:devel/py-yaml@${PY_FLAVOR}
CONFLICTS_INSTALL= ${FLAVORS:N${FLAVOR}:C/^/${PORTNAME}-qt5-/}
USES+= desktop-file-utils python:3.5+ pyqt:5 shebangfix
USE_PYTHON= flavors
USE_PYQT= chart core gui qscintilla2 webengine \
help_run network_run svg_run sql_run
INSTALL_PY= install.py -c -f eric6config.freebsd -i ${STAGEDIR}
SHEBANG_FILES= *.py eric/eric6/*.py eric/scripts/*.py
SUB_FILES= eric6.desktop
MASTERPORT= yes
PORTDATA= *
PORTDOCS= *
PORTEXAMPLES= *
OPTIONS_DEFINE= DOCS EXAMPLES
.include <bsd.port.options.mk>
post-patch:
${RM} ${WRKSRC}/eric/i18n/*.qm ${WRKSRC}/eric/i18n/*.ts
do-configure:
${SED} -e 's,PYTHON_SITELIBDIR,${PYTHON_SITELIBDIR},' \
-e 's,PREFIX,${PREFIX},' \
-e 's,DATADIR,${DATADIR},' \
-e 's,LOCALBASE,${LOCALBASE},' \
-e 's,DOCSDIR,${DOCSDIR},' \
-e 's,EXAMPLESDIR,${EXAMPLESDIR},' \
< ${FILESDIR}/config > ${WRKSRC}/eric6config.freebsd
do-install:
@(cd ${WRKSRC}; \
${SETENV} ${MAKE_ENV} ${PYTHON_CMD} ${INSTALL_PY})
post-install:
${INSTALL_DATA} ${WRKDIR}/eric6.desktop ${STAGEDIR}${PREFIX}/share/applications/
${LN} -sf ${DATADIR:C|${PREFIX}(/share(/pixmaps)?)?||:C|/[^/]+|../|g}eric6/icons/default/eric.png \
${STAGEDIR}${PREFIX}/share/pixmaps/eric6.png
@${MKDIR} ${STAGEDIR}${DATADIR}/i18n
${REINPLACE_CMD} -e 's|${STAGEDIR}|${DATADIR}|g' \
-e 's|${WRKSRC}|${DATADIR}|g' \
${STAGEDIR}/${DATADIR}/eric6install.json
@${RM} ${STAGEDIR}/${DATADIR}/eric6install.json.bak
.include <bsd.port.mk>

22
devel/eric6/Makefile.inc Normal file
View File

@ -0,0 +1,22 @@
# Created by: Boris Samorodov <bsam@FreeBSD.org>
#
# This is a set of Makefile macros which allow to build the
# localized language packages for devel/eric6:
# german/eric6, russian/eric6, devel/es-eric6
.include "${.CURDIR}/../../devel/eric6/bsd.eric6.mk"
PKGNAMEPREFIX= ${I18N_LANG}-
DISTNAME= ${PORTNAME}-i18n-${I18N_LANG}-${PORTVERSION}
COMMENT= ${I18N_LANG} i18n package for Eric6 IDE
NO_ARCH= yes
NO_BUILD= yes
PLIST_FILES= ${DATADIR}/i18n/${PORTNAME}_${I18N_LANG}.qm
do-install:
${MKDIR} ${STAGEDIR}${DATADIR}/i18n
${INSTALL_DATA} ${WRKSRC}/eric/eric6/i18n/${PORTNAME}_${I18N_LANG}.qm ${STAGEDIR}${DATADIR}/i18n/
.include <bsd.port.mk>

22
devel/eric6/bsd.eric6.mk Normal file
View File

@ -0,0 +1,22 @@
# Created by: Boris Samorodov <bsam@FreeBSD.org>
#
# This is a set of Makefile macros that are common between devel/eric6 and
# localized language packages for devel/eric6:
# german/eric6, russian/eric6, devel/es-eric6
PORTNAME= eric6
PORTVERSION= 21.11
PORTREVISION?= 0
MASTER_SITES= SF/eric-ide/${PORTNAME}/stable/${PORTVERSION}
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
MAINTAINER= fluffy@FreeBSD.org
COMMENT= Full featured Python and Ruby editor and IDE based on Qt
LICENSE= GPLv3
DESCR= ${.CURDIR}/../../devel/eric6/pkg-descr
MAKE_ENV+= "HOME=${WRKDIR}"
NO_ARCH= yes
NO_BUILD= yes

3
devel/eric6/distinfo Normal file
View File

@ -0,0 +1,3 @@
TIMESTAMP = 1636374251
SHA256 (eric6-nolang-21.11.tar.gz) = 769e85fbf06650069e41b7587b13ae5c07c68ef49ea1cf9d38f19ea8655bb0e1
SIZE (eric6-nolang-21.11.tar.gz) = 12945495

22
devel/eric6/files/config Normal file
View File

@ -0,0 +1,22 @@
# -*- coding: utf-8 -*-
#
# This module contains the configuration of the individual eric6 installation
#
cfg = {
'ericDir' : 'DATADIR',
'ericPixDir' : 'DATADIR/pixmaps',
'ericIconDir' : 'DATADIR/icons',
'ericDTDDir' : 'DATADIR/DTDs',
'ericCSSDir' : 'DATADIR/CSSs',
'ericStylesDir' : 'DATADIR/Styles',
'ericDocDir' : 'DOCSDIR',
'ericExamplesDir' : 'EXAMPLESDIR',
'ericTranslationsDir' : 'DATADIR/i18n',
'ericTemplatesDir' : 'DATADIR/DesignerTemplates',
'ericCodeTemplatesDir' : 'DATADIR/CodeTemplates',
'ericOthersDir' : 'DATADIR/Others',
'bindir' : 'PREFIX/bin',
'mdir' : 'PYTHON_SITELIBDIR',
'apidir' : 'LOCALBASE/share/qt5/qsci/api',
}

View File

@ -0,0 +1,10 @@
[Desktop Entry]
Name=Eric IDE
GenericName=Python and Ruby IDE
Comment=Full featured Python and Ruby editor and IDE based on Qt4
Type=Application
Exec=eric6
Icon=eric6
MimeType=application/x-python;application/x-eric;
Categories=Development;TextEditor;Qt;Application;
Terminal=false

11
devel/eric6/pkg-descr Normal file
View File

@ -0,0 +1,11 @@
Eric is a full featured Python and Ruby editor and IDE, written in python.
It is based on the cross platform Qt gui toolkit, integrating the highly
flexible Scintilla editor control. It is designed to be usable as everyday's
quick and dirty editor as well as being usable as a professional project
management tool integrating many advanced features Python offers
the professional coder.
This is a port of eric6 (based on Qt5).
WWW: https://eric-ide.python-projects.org/index.html

10
devel/eric6/pkg-message Normal file
View File

@ -0,0 +1,10 @@
[
{ type: install
message: <<EOM
eric6 has the following localized language packages:
de-eric6
es-eric6
ru-eric6
EOM
}
]

44
devel/eric6/pkg-plist Normal file
View File

@ -0,0 +1,44 @@
bin/eric6
bin/eric6_api
bin/eric6_browser
bin/eric6_compare
bin/eric6_configure
bin/eric6_diff
bin/eric6_doc
bin/eric6_editor
bin/eric6_hexeditor
bin/eric6_iconeditor
bin/eric6_plugininstall
bin/eric6_pluginrepository
bin/eric6_pluginuninstall
bin/eric6_qregularexpression
bin/eric6_re
bin/eric6_shell
bin/eric6_snap
bin/eric6_sqlbrowser
bin/eric6_tray
bin/eric6_trpreviewer
bin/eric6_uipreviewer
bin/eric6_unittest
%%PYTHON_SITELIBDIR%%/eric6config.py
%%PYTHON_SITELIBDIR%%/eric6plugins/__init__.py
share/applications/eric6.desktop
share/pixmaps/eric6.png
share/qt5/qsci/api/python/eric6.api
share/qt5/qsci/api/python/eric6.bas
share/qt5/qsci/api/python/zope-2.10.7.api
share/qt5/qsci/api/python/zope-2.11.2.api
share/qt5/qsci/api/python/zope-3.3.1.api
share/qt5/qsci/api/qss/qss.api
share/qt5/qsci/api/ruby/Ruby-1.8.7.api
share/qt5/qsci/api/ruby/Ruby-1.8.7.bas
share/qt5/qsci/api/ruby/Ruby-1.9.1.api
share/qt5/qsci/api/ruby/Ruby-1.9.1.bas
share/qt5/qsci/api/python/calliope.api
share/qt5/qsci/api/python/circuitpython.api
share/qt5/qsci/api/python/microbit.api
share/qt5/qsci/api/python/micropython.api
share/qt5/qsci/api/python/micropython.bas
@dir %%DATADIR%%/DTDs
@dir %%DATADIR%%/i18n
%%PORTEXAMPLES%%@dir %%EXAMPLESDIR%%

6
devel/es-eric6/Makefile Normal file
View File

@ -0,0 +1,6 @@
# Created by: Boris Samorodov <bsam@FreeBSD.org>
CATEGORIES= devel python
I18N_LANG= es
.include "${.CURDIR}/../../devel/eric6/Makefile.inc"

3
devel/es-eric6/distinfo Normal file
View File

@ -0,0 +1,3 @@
TIMESTAMP = 1636374625
SHA256 (eric6-i18n-es-21.11.tar.gz) = 877bbc5fd67ec24ac51d5c4244973d24de608e904104d03b75a7dfc22425163e
SIZE (eric6-i18n-es-21.11.tar.gz) = 1079101

View File

@ -7,6 +7,7 @@
SUBDIR += dict
SUBDIR += ding
SUBDIR += dtaus
SUBDIR += eric6
SUBDIR += geonext
SUBDIR += hunspell
SUBDIR += hyphen

6
german/eric6/Makefile Normal file
View File

@ -0,0 +1,6 @@
# Created by: Boris Samorodov <bsam@FreeBSD.org>
CATEGORIES= german devel python
I18N_LANG= de
.include "${.CURDIR}/../../devel/eric6/Makefile.inc"

3
german/eric6/distinfo Normal file
View File

@ -0,0 +1,3 @@
TIMESTAMP = 1636374681
SHA256 (eric6-i18n-de-21.11.tar.gz) = 3c2fb8f7f92e8635eef5337aba7f26ba8d26331a8fa891145ee23d81c9ac09e4
SIZE (eric6-i18n-de-21.11.tar.gz) = 1077638

View File

@ -5,6 +5,7 @@
SUBDIR += bugzilla44
SUBDIR += d1489
SUBDIR += emkatic
SUBDIR += eric6
SUBDIR += gd
SUBDIR += hunspell
SUBDIR += hyphen

6
russian/eric6/Makefile Normal file
View File

@ -0,0 +1,6 @@
# Created by: Boris Samorodov <bsam@FreeBSD.org>
CATEGORIES= russian devel python
I18N_LANG= ru
.include "${.CURDIR}/../../devel/eric6/Makefile.inc"

3
russian/eric6/distinfo Normal file
View File

@ -0,0 +1,3 @@
TIMESTAMP = 1636374699
SHA256 (eric6-i18n-ru-21.11.tar.gz) = c0e00c5c459b5017af7d0f76cf9f00e6cc518347fe932e1f3c5ffa716c52c3d0
SIZE (eric6-i18n-ru-21.11.tar.gz) = 1136627