- Update to 0.1.4
- Limit textproc/py-markdown to versions lower than 3. The 3.x release of py-markdown introduced some internal changes to the API that isn't compatible with textproc/py-gfm, yet. - Sort variables according to PHB and to pet portlint - Added test target to make QA easier Changes by upstream: - https://github.com/Zopieux/py-gfm/blob/0.1.4/CHANGELOG.md PR: 234618 Submitted by: freebsd_ports@k-worx.org Approved by: maintainer Sponsored by: iXsystems Inc.
This commit is contained in:
parent
1a5ee78491
commit
2505108656
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=491580
@ -1,7 +1,7 @@
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= gfm
|
||||
DISTVERSION= 0.1.3
|
||||
DISTVERSION= 0.1.4
|
||||
CATEGORIES= textproc python
|
||||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
||||
|
||||
@ -11,24 +11,28 @@ COMMENT= Github-flavored Markdown for the py-markdown module
|
||||
LICENSE= BSD3CLAUSE
|
||||
LICENSE_FILE= ${WRKSRC}/LICENSE
|
||||
|
||||
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}markdown>0:textproc/py-markdown@${PY_FLAVOR}
|
||||
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}markdown>0,<3:textproc/py-markdown@${PY_FLAVOR}
|
||||
|
||||
USES= python
|
||||
USE_GITHUB= yes
|
||||
GH_ACCOUNT= Zopieux
|
||||
GH_PROJECT= py-${PORTNAME}
|
||||
USE_PYTHON= distutils concurrent autoplist
|
||||
|
||||
NO_ARCH= yes
|
||||
PORTDOCS= *
|
||||
|
||||
OPTIONS_DEFINE= DOCS
|
||||
|
||||
DOCS_BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sphinx>0:textproc/py-sphinx@${PY_FLAVOR}
|
||||
DOCS_BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sphinx>0:textproc/py-sphinx@${PY_FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}markdown>0:textproc/py-markdown@${PY_FLAVOR}
|
||||
DOCS_VARS= PYDISTUTILS_BUILD_TARGET+=build_sphinx
|
||||
|
||||
PORTDOCS= *
|
||||
|
||||
post-install-DOCS-on:
|
||||
cd ${WRKSRC}/build/sphinx/html && \
|
||||
${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR} "! -name .buildinfo -and ! -path objects.inv"
|
||||
|
||||
do-test:
|
||||
@cd ${WRKSRC} && ${PYTHON_CMD} test.py
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1,3 +1,3 @@
|
||||
TIMESTAMP = 1522068078
|
||||
SHA256 (Zopieux-py-gfm-0.1.3_GH0.tar.gz) = 5d8cf9d8fbdaf4c9d28a7f00dcfdaa6212cfb2f3f89b15f347ba6a9970902b39
|
||||
SIZE (Zopieux-py-gfm-0.1.3_GH0.tar.gz) = 20821
|
||||
TIMESTAMP = 1542120925
|
||||
SHA256 (Zopieux-py-gfm-0.1.4_GH0.tar.gz) = 5e2b185e01686e083b8f33919a33a92d633581d15dbb24f33139edd5e1ede62f
|
||||
SIZE (Zopieux-py-gfm-0.1.4_GH0.tar.gz) = 21015
|
||||
|
Loading…
Reference in New Issue
Block a user