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
This commit is contained in:
parent
eb72e82711
commit
67a798060f
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=419769
2 changed files with 39 additions and 11 deletions
|
@ -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
|
||||
|
|
|
@ -1,2 +1,3 @@
|
|||
TIMESTAMP = 1470561185
|
||||
SHA256 (limnoria-2016.02.24.tar.gz) = 68628356d85eddc6165b049ad024a9a7b7a09de6bd7965b00e50edda90306398
|
||||
SIZE (limnoria-2016.02.24.tar.gz) = 866557
|
||||
|
|
Loading…
Reference in a new issue