Update to toot-0.17.1

From Klemens Nanni (maintainer)
This commit is contained in:
danj 2018-01-18 03:55:48 +00:00
parent 41485139a1
commit 821ca88882
4 changed files with 31 additions and 24 deletions

View File

@ -1,8 +1,8 @@
# $OpenBSD: Makefile,v 1.1.1.1 2017/12/17 21:03:54 danj Exp $
# $OpenBSD: Makefile,v 1.2 2018/01/18 03:55:48 danj Exp $
COMMENT = interact with Mastodon social networks from the command line
MODPY_EGG_VERSION = 0.15.1
MODPY_EGG_VERSION = 0.17.1
GH_ACCOUNT = ihabunek
GH_PROJECT = toot
GH_TAGNAME = ${MODPY_EGG_VERSION}
@ -16,18 +16,23 @@ PERMIT_PACKAGE_CDROM = Yes
MODULES = lang/python
MODPY_SETUPTOOLS = Yes
MODPY_VERSION = ${MODPY_DEFAULT_VERSION_3}
RUN_DEPENDS = devel/py-future${MODPY_FLAVOR}>=0.16 \
www/py-beautifulsoup4${MODPY_FLAVOR}>=4.5.0,<5.0 \
www/py-requests${MODPY_FLAVOR}>=2.13,<3.0
TEST_DEPENDS = devel/py-test${MODPY_FLAVOR}>=3.0.0 \
TEST_DEPENDS = ${FULLPKGNAME}:${BUILD_PKGPATH} \
devel/py-test${MODPY_FLAVOR}>=3.0.0 \
devel/py-test-cov${MODPY_FLAVOR}>=2.4.0
MAKE_ENV = LC_CTYPE=C.UTF-8
TEST_ENV = PATH=${PORTPATH}
pre-test:
ln -sf ${LOCALBASE}/bin/py.test${MODPY_BIN_SUFFIX} \
${WRKDIR}/bin/py.test
do-test:
make -C ${WRKSRC} coverage
${TEST_ENV} ${MAKE_PROGRAM} -C ${WRKSRC} coverage
.include <bsd.port.mk>

View File

@ -1,2 +1,2 @@
SHA256 (toot-0.15.1.tar.gz) = rM+4HxIeWddJLTC7Offm8TCou2cfQBumwjVNEUKBeV4=
SIZE (toot-0.15.1.tar.gz) = 28010
SHA256 (toot-0.17.1.tar.gz) = 698M4ouQ4PlD/b7GsU7M+9vjn6eR35iA5g4rgNGqrxg=
SIZE (toot-0.17.1.tar.gz) = 34149

View File

@ -1,14 +0,0 @@
$OpenBSD: patch-Makefile,v 1.1.1.1 2017/12/17 21:03:54 danj Exp $
Index: Makefile
--- Makefile.orig
+++ Makefile
@@ -19,7 +19,7 @@ publish :
twine upload dist/*
coverage:
- py.test --cov=toot --cov-report html tests/
+ py.test-3 --cov=toot --cov-report html tests/
deb:
@python setup.py --command-packages=stdeb.command bdist_deb

View File

@ -1,4 +1,4 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2017/12/17 21:03:54 danj Exp $
@comment $OpenBSD: PLIST,v 1.2 2018/01/18 03:55:48 danj Exp $
bin/toot
lib/python${MODPY_VERSION}/site-packages/toot/
lib/python${MODPY_VERSION}/site-packages/toot-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/
@ -12,16 +12,32 @@ lib/python${MODPY_VERSION}/site-packages/toot/__init__.py
lib/python${MODPY_VERSION}/site-packages/toot/${MODPY_PYCACHE}/
lib/python${MODPY_VERSION}/site-packages/toot/${MODPY_PYCACHE}__init__.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/toot/${MODPY_PYCACHE}api.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/toot/${MODPY_PYCACHE}app.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/toot/${MODPY_PYCACHE}auth.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/toot/${MODPY_PYCACHE}commands.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/toot/${MODPY_PYCACHE}config.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/toot/${MODPY_PYCACHE}config_legacy.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/toot/${MODPY_PYCACHE}console.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/toot/${MODPY_PYCACHE}exceptions.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/toot/${MODPY_PYCACHE}http.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/toot/${MODPY_PYCACHE}logging.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/toot/${MODPY_PYCACHE}output.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/toot/${MODPY_PYCACHE}utils.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/toot/api.py
lib/python${MODPY_VERSION}/site-packages/toot/app.py
lib/python${MODPY_VERSION}/site-packages/toot/auth.py
lib/python${MODPY_VERSION}/site-packages/toot/commands.py
lib/python${MODPY_VERSION}/site-packages/toot/config.py
lib/python${MODPY_VERSION}/site-packages/toot/config_legacy.py
lib/python${MODPY_VERSION}/site-packages/toot/console.py
lib/python${MODPY_VERSION}/site-packages/toot/exceptions.py
lib/python${MODPY_VERSION}/site-packages/toot/http.py
lib/python${MODPY_VERSION}/site-packages/toot/logging.py
lib/python${MODPY_VERSION}/site-packages/toot/output.py
lib/python${MODPY_VERSION}/site-packages/toot/ui/
lib/python${MODPY_VERSION}/site-packages/toot/ui/__init__.py
lib/python${MODPY_VERSION}/site-packages/toot/ui/${MODPY_PYCACHE}/
lib/python${MODPY_VERSION}/site-packages/toot/ui/${MODPY_PYCACHE}__init__.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/toot/ui/${MODPY_PYCACHE}app.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/toot/ui/${MODPY_PYCACHE}utils.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/toot/ui/app.py
lib/python${MODPY_VERSION}/site-packages/toot/ui/utils.py
lib/python${MODPY_VERSION}/site-packages/toot/utils.py