aboutsummaryrefslogtreecommitdiffstats
path: root/textproc
diff options
context:
space:
mode:
authorkoobs <koobs@FreeBSD.org>2014-02-03 18:18:19 +0800
committerkoobs <koobs@FreeBSD.org>2014-02-03 18:18:19 +0800
commitd5852f0f515046452235e694da52b98b8f7a5f8a (patch)
treeecd62203d90ed1b38ce569a450dc34a529bf61a3 /textproc
parentedaec09d21942c0c2c9bcadc2ec5ec49759b2eae (diff)
downloadfreebsd-ports-gnome-d5852f0f515046452235e694da52b98b8f7a5f8a.tar.gz
freebsd-ports-gnome-d5852f0f515046452235e694da52b98b8f7a5f8a.tar.zst
freebsd-ports-gnome-d5852f0f515046452235e694da52b98b8f7a5f8a.zip
textproc/py-markdown: Modernise: STAGE, AUTOPLIST & more
- Enable STAGE support - Enable AUTOPLIST support, delete pkg-plist - Update LICENSE (BSD3CLAUSE) - Update WWW URL in pkg-descr - Deprecate PYDISTUTILS_PKGNAME - Reduce whitespace in Makefile
Diffstat (limited to 'textproc')
-rw-r--r--textproc/py-markdown/Makefile22
-rw-r--r--textproc/py-markdown/pkg-descr2
-rw-r--r--textproc/py-markdown/pkg-plist90
3 files changed, 11 insertions, 103 deletions
diff --git a/textproc/py-markdown/Makefile b/textproc/py-markdown/Makefile
index 7447f16cb812..a15386ca26d7 100644
--- a/textproc/py-markdown/Makefile
+++ b/textproc/py-markdown/Makefile
@@ -1,27 +1,25 @@
# Created by: Graham Todd <gtodd@bellanet.org>
# $FreeBSD$
-PORTNAME= markdown
-PORTVERSION= 2.3.1
-CATEGORIES= textproc python
-MASTER_SITES= CHEESESHOP
-PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
-DISTNAME= Markdown-${PORTVERSION}
+PORTNAME= markdown
+PORTVERSION= 2.3.1
+CATEGORIES= textproc python
+MASTER_SITES= CHEESESHOP
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+DISTNAME= Markdown-${PORTVERSION}
-MAINTAINER= koobs@FreeBSD.org
-COMMENT= Text markup to HTML conversion engine for Python
+MAINTAINER= koobs@FreeBSD.org
+COMMENT= Text markup to HTML conversion engine for Python
-LICENSE= BSD
+LICENSE= BSD3CLAUSE
TEST_DEPENDS= nosetests:${PORTSDIR}/devel/py-nose
USE_PYTHON= yes
USE_PYDISTUTILS= yes
-
-PYDISTUTILS_PKGNAME= Markdown
+PYDISTUTILS_AUTOPLIST= yes
regression-test: build
@cd ${WRKSRC} && nosetests
-NO_STAGE= yes
.include <bsd.port.mk>
diff --git a/textproc/py-markdown/pkg-descr b/textproc/py-markdown/pkg-descr
index 473b80fcdcb4..50ba30d46eef 100644
--- a/textproc/py-markdown/pkg-descr
+++ b/textproc/py-markdown/pkg-descr
@@ -4,4 +4,4 @@ formatting syntax is designed to be easy and intuitive for web authors
and resembles typical email formatting conventions. The resultant
(X)HTML is structurally valid.
-WWW: http://www.freewisdom.org/projects/python-markdown
+WWW: https://pypi.python.org/pypi/Markdown
diff --git a/textproc/py-markdown/pkg-plist b/textproc/py-markdown/pkg-plist
deleted file mode 100644
index ba165b9438d7..000000000000
--- a/textproc/py-markdown/pkg-plist
+++ /dev/null
@@ -1,90 +0,0 @@
-bin/markdown_py
-%%PYTHON_SITELIBDIR%%/markdown/__init__.py
-%%PYTHON_SITELIBDIR%%/markdown/__init__.pyc
-%%PYTHON_SITELIBDIR%%/markdown/__init__.pyo
-%%PYTHON_SITELIBDIR%%/markdown/__main__.py
-%%PYTHON_SITELIBDIR%%/markdown/__main__.pyc
-%%PYTHON_SITELIBDIR%%/markdown/__main__.pyo
-%%PYTHON_SITELIBDIR%%/markdown/__version__.py
-%%PYTHON_SITELIBDIR%%/markdown/__version__.pyc
-%%PYTHON_SITELIBDIR%%/markdown/__version__.pyo
-%%PYTHON_SITELIBDIR%%/markdown/blockparser.py
-%%PYTHON_SITELIBDIR%%/markdown/blockparser.pyc
-%%PYTHON_SITELIBDIR%%/markdown/blockparser.pyo
-%%PYTHON_SITELIBDIR%%/markdown/blockprocessors.py
-%%PYTHON_SITELIBDIR%%/markdown/blockprocessors.pyc
-%%PYTHON_SITELIBDIR%%/markdown/blockprocessors.pyo
-%%PYTHON_SITELIBDIR%%/markdown/extensions/__init__.py
-%%PYTHON_SITELIBDIR%%/markdown/extensions/__init__.pyc
-%%PYTHON_SITELIBDIR%%/markdown/extensions/__init__.pyo
-%%PYTHON_SITELIBDIR%%/markdown/extensions/abbr.py
-%%PYTHON_SITELIBDIR%%/markdown/extensions/abbr.pyc
-%%PYTHON_SITELIBDIR%%/markdown/extensions/abbr.pyo
-%%PYTHON_SITELIBDIR%%/markdown/extensions/admonition.py
-%%PYTHON_SITELIBDIR%%/markdown/extensions/admonition.pyc
-%%PYTHON_SITELIBDIR%%/markdown/extensions/admonition.pyo
-%%PYTHON_SITELIBDIR%%/markdown/extensions/attr_list.py
-%%PYTHON_SITELIBDIR%%/markdown/extensions/attr_list.pyc
-%%PYTHON_SITELIBDIR%%/markdown/extensions/attr_list.pyo
-%%PYTHON_SITELIBDIR%%/markdown/extensions/codehilite.py
-%%PYTHON_SITELIBDIR%%/markdown/extensions/codehilite.pyc
-%%PYTHON_SITELIBDIR%%/markdown/extensions/codehilite.pyo
-%%PYTHON_SITELIBDIR%%/markdown/extensions/def_list.py
-%%PYTHON_SITELIBDIR%%/markdown/extensions/def_list.pyc
-%%PYTHON_SITELIBDIR%%/markdown/extensions/def_list.pyo
-%%PYTHON_SITELIBDIR%%/markdown/extensions/extra.py
-%%PYTHON_SITELIBDIR%%/markdown/extensions/extra.pyc
-%%PYTHON_SITELIBDIR%%/markdown/extensions/extra.pyo
-%%PYTHON_SITELIBDIR%%/markdown/extensions/fenced_code.py
-%%PYTHON_SITELIBDIR%%/markdown/extensions/fenced_code.pyc
-%%PYTHON_SITELIBDIR%%/markdown/extensions/fenced_code.pyo
-%%PYTHON_SITELIBDIR%%/markdown/extensions/footnotes.py
-%%PYTHON_SITELIBDIR%%/markdown/extensions/footnotes.pyc
-%%PYTHON_SITELIBDIR%%/markdown/extensions/footnotes.pyo
-%%PYTHON_SITELIBDIR%%/markdown/extensions/headerid.py
-%%PYTHON_SITELIBDIR%%/markdown/extensions/headerid.pyc
-%%PYTHON_SITELIBDIR%%/markdown/extensions/headerid.pyo
-%%PYTHON_SITELIBDIR%%/markdown/extensions/meta.py
-%%PYTHON_SITELIBDIR%%/markdown/extensions/meta.pyc
-%%PYTHON_SITELIBDIR%%/markdown/extensions/meta.pyo
-%%PYTHON_SITELIBDIR%%/markdown/extensions/nl2br.py
-%%PYTHON_SITELIBDIR%%/markdown/extensions/nl2br.pyc
-%%PYTHON_SITELIBDIR%%/markdown/extensions/nl2br.pyo
-%%PYTHON_SITELIBDIR%%/markdown/extensions/smart_strong.py
-%%PYTHON_SITELIBDIR%%/markdown/extensions/smart_strong.pyc
-%%PYTHON_SITELIBDIR%%/markdown/extensions/smart_strong.pyo
-%%PYTHON_SITELIBDIR%%/markdown/extensions/sane_lists.py
-%%PYTHON_SITELIBDIR%%/markdown/extensions/sane_lists.pyc
-%%PYTHON_SITELIBDIR%%/markdown/extensions/sane_lists.pyo
-%%PYTHON_SITELIBDIR%%/markdown/extensions/tables.py
-%%PYTHON_SITELIBDIR%%/markdown/extensions/tables.pyc
-%%PYTHON_SITELIBDIR%%/markdown/extensions/tables.pyo
-%%PYTHON_SITELIBDIR%%/markdown/extensions/toc.py
-%%PYTHON_SITELIBDIR%%/markdown/extensions/toc.pyc
-%%PYTHON_SITELIBDIR%%/markdown/extensions/toc.pyo
-%%PYTHON_SITELIBDIR%%/markdown/extensions/wikilinks.py
-%%PYTHON_SITELIBDIR%%/markdown/extensions/wikilinks.pyc
-%%PYTHON_SITELIBDIR%%/markdown/extensions/wikilinks.pyo
-%%PYTHON_SITELIBDIR%%/markdown/inlinepatterns.py
-%%PYTHON_SITELIBDIR%%/markdown/inlinepatterns.pyc
-%%PYTHON_SITELIBDIR%%/markdown/inlinepatterns.pyo
-%%PYTHON_SITELIBDIR%%/markdown/odict.py
-%%PYTHON_SITELIBDIR%%/markdown/odict.pyc
-%%PYTHON_SITELIBDIR%%/markdown/odict.pyo
-%%PYTHON_SITELIBDIR%%/markdown/postprocessors.py
-%%PYTHON_SITELIBDIR%%/markdown/postprocessors.pyc
-%%PYTHON_SITELIBDIR%%/markdown/postprocessors.pyo
-%%PYTHON_SITELIBDIR%%/markdown/preprocessors.py
-%%PYTHON_SITELIBDIR%%/markdown/preprocessors.pyc
-%%PYTHON_SITELIBDIR%%/markdown/preprocessors.pyo
-%%PYTHON_SITELIBDIR%%/markdown/serializers.py
-%%PYTHON_SITELIBDIR%%/markdown/serializers.pyc
-%%PYTHON_SITELIBDIR%%/markdown/serializers.pyo
-%%PYTHON_SITELIBDIR%%/markdown/treeprocessors.py
-%%PYTHON_SITELIBDIR%%/markdown/treeprocessors.pyc
-%%PYTHON_SITELIBDIR%%/markdown/treeprocessors.pyo
-%%PYTHON_SITELIBDIR%%/markdown/util.py
-%%PYTHON_SITELIBDIR%%/markdown/util.pyc
-%%PYTHON_SITELIBDIR%%/markdown/util.pyo
-@dirrm %%PYTHON_SITELIBDIR%%/markdown/extensions
-@dirrm %%PYTHON_SITELIBDIR%%/markdown