diff options
author | koobs <koobs@FreeBSD.org> | 2016-08-07 19:26:24 +0800 |
---|---|---|
committer | koobs <koobs@FreeBSD.org> | 2016-08-07 19:26:24 +0800 |
commit | 4c5c68eb6a42960f63bf8cf8be7b9e9dd0c70572 (patch) | |
tree | db8a41b9a993ff46eda202a747cc2df4a91a34fc /irc | |
parent | 39b36a71e8e99f571f3e548b8b1e62624ecfccd0 (diff) | |
download | freebsd-ports-gnome-4c5c68eb6a42960f63bf8cf8be7b9e9dd0c70572.tar.gz freebsd-ports-gnome-4c5c68eb6a42960f63bf8cf8be7b9e9dd0c70572.tar.zst freebsd-ports-gnome-4c5c68eb6a42960f63bf8cf8be7b9e9dd0c70572.zip |
irc/py-limnoria: Convert to OPTION'al RUN_DEPENDS
- Add Global and Plugin OPTIONS for optional dependencies
- Set OPTIONS_DEFAULT to maintain functional compatibility with 2016Q3
- Enable concurrent Python installation
- Update test target to use PYTHON_CMD (version specific execution)
- Add TEST_DEPENDS on feedparser as it fails (not skips) if not
available when running tests.
- Remove nested leading indefinite article in COMMENT
MFH: 2016Q3
Diffstat (limited to 'irc')
-rw-r--r-- | irc/py-limnoria/Makefile | 49 | ||||
-rw-r--r-- | irc/py-limnoria/distinfo | 1 |
2 files changed, 39 insertions, 11 deletions
diff --git a/irc/py-limnoria/Makefile b/irc/py-limnoria/Makefile index 0f73bf63445b..32fd7379a3a2 100644 --- a/irc/py-limnoria/Makefile +++ b/irc/py-limnoria/Makefile @@ -8,26 +8,53 @@ MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= koobs@FreeBSD.org -COMMENT= Modified version of Supybot (an IRC bot and framework) +COMMENT= Modified version of Supybot (IRC bot and framework) -RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}chardet>=0:textproc/py-chardet \ - ${PYTHON_PKGNAMEPREFIX}pytz>=0:devel/py-pytz \ - ${PYTHON_PKGNAMEPREFIX}dateutil>=0:devel/py-dateutil \ - ${PYTHON_PKGNAMEPREFIX}python-gnupg>=0:security/py-python-gnupg \ - ${PYTHON_PKGNAMEPREFIX}feedparser>=0:textproc/py-feedparser \ - ${PYTHON_PKGNAMEPREFIX}sqlalchemy07>=0:databases/py-sqlalchemy07 \ - ${PYTHON_PKGNAMEPREFIX}pysocks>=0:net/py-pysocks \ - ${PYTHON_PKGNAMEPREFIX}ecdsa>0:security/py-ecdsa +LICENSE= BSD3CLAUSE + +TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}feedparser>=0:textproc/py-feedparser + +OPTIONS_DEFINE= ECDSA PROXY +OPTIONS_DEFAULT= ECDSA ENCODING GPG PROXY RSS SQLALCHEMY TIME +OPTIONS_GROUP= EXTRAS +OPTIONS_GROUP_EXTRAS= ENCODING GPG RSS TIME +OPTIONS_RADIO= AKA +OPTIONS_RADIO_AKA= SQLITE SQLALCHEMY + +EXTRAS_DESC= Plugin Extras +AKA_DESC= AKA Plugin: SQL Backend (none = plugin disabled) + +ECDSA_DESC= ECDSA SASL authentication +PROXY_DESC= SOCKS Proxy connections + +ENCODING_DESC= Web Plugin: Better encoding detection (via chardet) +GPG_DESC= GPG Plugin: GnuPG Authentication +RSS_DESC= RSS Plugin: Feed parsing (via feedparser) +TIME_DESC= Time Plugin: Extra time features (via dateutil/pytz) + +SQLALCHEMY_DESC= SQLAlchemy database support + +ECDSA_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}ecdsa>0:security/py-ecdsa +PROXY_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pysocks>=0:net/py-pysocks + +ENCODING_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}chardet>=0:textproc/py-chardet +GPG_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}python-gnupg>=0:security/py-python-gnupg +RSS_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}feedparser>=0:textproc/py-feedparser +TIME_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}dateutil>=0:devel/py-dateutil \ + ${PYTHON_PKGNAMEPREFIX}pytz>=0:devel/py-pytz + +SQLITE_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sqlite3>0:databases/py-sqlite3 +SQLALCHEMY_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sqlalchemy10>0:databases/py-sqlalchemy10 USES= python -USE_PYTHON= autoplist distutils +USE_PYTHON= autoplist concurrent distutils NO_ARCH= yes # Needs to be installed first to work. do-test: - @cd ${WRKSRC} && ${LOCALBASE}/bin/supybot-test \ + @cd ${WRKSRC} && ${PYTHON_CMD} ${LOCALBASE}/bin/supybot-test \ --no-network \ --plugins-dir="./build/lib*/supybot/plugins/" \ --disable-multiprocessing diff --git a/irc/py-limnoria/distinfo b/irc/py-limnoria/distinfo index 06c0095167a9..641250434b1c 100644 --- a/irc/py-limnoria/distinfo +++ b/irc/py-limnoria/distinfo @@ -1,2 +1,3 @@ +TIMESTAMP = 1470561185 SHA256 (limnoria-2016.02.24.tar.gz) = 68628356d85eddc6165b049ad024a9a7b7a09de6bd7965b00e50edda90306398 SIZE (limnoria-2016.02.24.tar.gz) = 866557 |