git: d0c73b431e4a - main - textproc/py-mdurl: Add py-mdurl 0.1.0
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 21 Dec 2021 19:41:04 UTC
The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=d0c73b431e4a0b41c10fb2e2d4a24a537ec1ed14 commit d0c73b431e4a0b41c10fb2e2d4a24a537ec1ed14 Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org> AuthorDate: 2021-12-21 18:38:45 +0000 Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org> CommitDate: 2021-12-21 18:38:45 +0000 textproc/py-mdurl: Add py-mdurl 0.1.0 URL utilities for markdown-it parser. WWW: https://github.com/executablebooks/mdurl --- textproc/Makefile | 1 + textproc/py-mdurl/Makefile | 23 +++++++++++++++++++++++ textproc/py-mdurl/distinfo | 3 +++ textproc/py-mdurl/files/setup.py | 25 +++++++++++++++++++++++++ textproc/py-mdurl/pkg-descr | 3 +++ 5 files changed, 55 insertions(+) diff --git a/textproc/Makefile b/textproc/Makefile index d430f2735896..4f49552e9f1f 100644 --- a/textproc/Makefile +++ b/textproc/Makefile @@ -1355,6 +1355,7 @@ SUBDIR += py-markupsafe SUBDIR += py-mathics-pygments SUBDIR += py-mdit-py-plugins + SUBDIR += py-mdurl SUBDIR += py-misaka SUBDIR += py-mistune SUBDIR += py-mkdocs diff --git a/textproc/py-mdurl/Makefile b/textproc/py-mdurl/Makefile new file mode 100644 index 000000000000..1154c917f79e --- /dev/null +++ b/textproc/py-mdurl/Makefile @@ -0,0 +1,23 @@ +# Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org> + +PORTNAME= mdurl +PORTVERSION= 0.1.0 +CATEGORIES= textproc python +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= Markdown URL utilities + +LICENSE= MIT +#LICENSE_FILE= ${WRKSRC}/LICENSE + +USES= python:3.6+ +USE_PYTHON= autoplist concurrent distutils + +NO_ARCH= yes + +post-patch: + @${SED} -e 's|%%PORTVERSION%%|${PORTVERSION}|' ${FILESDIR}/setup.py > ${WRKSRC}/setup.py + +.include <bsd.port.mk> diff --git a/textproc/py-mdurl/distinfo b/textproc/py-mdurl/distinfo new file mode 100644 index 000000000000..e208fab3632a --- /dev/null +++ b/textproc/py-mdurl/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1638556438 +SHA256 (mdurl-0.1.0.tar.gz) = 94873a969008ee48880fb21bad7de0349fef529f3be178969af5817239e9b990 +SIZE (mdurl-0.1.0.tar.gz) = 10691 diff --git a/textproc/py-mdurl/files/setup.py b/textproc/py-mdurl/files/setup.py new file mode 100644 index 000000000000..099f29ff8b54 --- /dev/null +++ b/textproc/py-mdurl/files/setup.py @@ -0,0 +1,25 @@ +#!/usr/bin/env python +# setup.py generated by flit for tools that don't yet use PEP 517 + +from distutils.core import setup + +packages = \ +['mdurl'] + +package_data = \ +{'': ['*']} + +package_dir = \ +{'': 'src'} + +setup(name='mdurl', + version='%%PORTVERSION%%', + description='Markdown URL utilities', + author=None, + author_email='Taneli Hukkinen <hukkin@users.noreply.github.com>', + url=None, + packages=packages, + package_data=package_data, + package_dir=package_dir, + python_requires='>=3.6', + ) diff --git a/textproc/py-mdurl/pkg-descr b/textproc/py-mdurl/pkg-descr new file mode 100644 index 000000000000..c6be5c1c106a --- /dev/null +++ b/textproc/py-mdurl/pkg-descr @@ -0,0 +1,3 @@ +URL utilities for markdown-it parser. + +WWW: https://github.com/executablebooks/mdurl