Update to 2.0.0

- Change MASTER_SITES from GitHub to CHEESESHOP
- Remove EXAMPLES option

Changes:	https://github.com/Mic92/python-mpd2/blob/master/doc/changes.rst
This commit is contained in:
Sunpoet Po-Chuan Hsieh 2020-11-26 21:17:23 +00:00
parent 44a91632c1
commit 5868081ea2
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=556358
3 changed files with 9 additions and 34 deletions

View File

@ -2,9 +2,9 @@
# $FreeBSD$
PORTNAME= python-mpd2
PORTVERSION= 1.1.0
DISTVERSIONPREFIX= v
PORTVERSION= 2.0.0
CATEGORIES= audio python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= sunpoet@FreeBSD.org
@ -13,26 +13,15 @@ COMMENT= Python MPD client library
LICENSE= LGPL3+
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
USES= python shebangfix
USES= python:3.6+
USE_PYTHON= autoplist concurrent distutils
NO_ARCH= yes
USE_GITHUB= yes
GH_ACCOUNT= Mic92
SHEBANG_FILES= doc/*.py examples/*.py
OPTIONS_DEFINE= DOCS EXAMPLES
OPTIONS_DEFINE= DOCS
post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}/topics
${INSTALL_DATA} ${WRKSRC}/doc/commands_header.txt ${WRKSRC}/doc/*.rst ${STAGEDIR}${DOCSDIR}/
${INSTALL_DATA} ${WRKSRC}/doc/topics/*.rst ${STAGEDIR}${DOCSDIR}/topics/
${INSTALL_SCRIPT} ${WRKSRC}/doc/generate_command_reference.py ${STAGEDIR}${DOCSDIR}/
post-install-EXAMPLES-on:
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
${INSTALL_SCRIPT} ${WRKSRC}/examples/*.py ${WRKSRC}/examples/summary.txt ${STAGEDIR}${EXAMPLESDIR}/
@${MKDIR} ${STAGEDIR}${DOCSDIR}
cd ${WRKSRC}/doc && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}/
.include <bsd.port.mk>

View File

@ -1,3 +1,3 @@
TIMESTAMP = 1579953627
SHA256 (Mic92-python-mpd2-v1.1.0_GH0.tar.gz) = 2402b4a264bfc96fe743e7e8ee0128d896fc76a7847ae38d467fa58c03833d5f
SIZE (Mic92-python-mpd2-v1.1.0_GH0.tar.gz) = 61104
TIMESTAMP = 1606307703
SHA256 (python-mpd2-2.0.0.tar.gz) = 5d0dac5d0d15aa5345aa6cefb4b793b83811926a155993c10829c48166553576
SIZE (python-mpd2-2.0.0.tar.gz) = 53648

View File

@ -1,21 +1,7 @@
%%PORTDOCS%%%%DOCSDIR%%/changes.rst
%%PORTDOCS%%%%DOCSDIR%%/commands_header.txt
%%PORTDOCS%%%%DOCSDIR%%/generate_command_reference.py
%%PORTDOCS%%%%DOCSDIR%%/index.rst
%%PORTDOCS%%%%DOCSDIR%%/topics/advanced.rst
%%PORTDOCS%%%%DOCSDIR%%/topics/commands.rst
%%PORTDOCS%%%%DOCSDIR%%/topics/getting-started.rst
%%PORTDOCS%%%%DOCSDIR%%/topics/logging.rst
%%PORTDOCS%%%%DOCSDIR%%/topics/porting.rst
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/asyncio_example.py
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/errorhandling.py
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/helloworld.py
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/idle.py
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/locking.py
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/logger.py
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/multitags.py
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/randomqueue.py
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/stats.py
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/stickers.py
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/summary.txt
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/twisted_example.py