From ebfcdc97a07619004eca7a27e5f08cf980ee6132 Mon Sep 17 00:00:00 2001 From: nia Date: Fri, 1 May 2020 17:50:59 +0000 Subject: converters: Add py-unicode-slugify Unicode Slugify is a slugifier that generates unicode slugs. It was originally used in the Firefox Add-ons web site to generate slugs for add-ons and add-on collections. Many of these add-ons and collections had unicode characters and required more than simple transliteration. --- converters/Makefile | 3 ++- converters/py-unicode-slugify/DESCR | 4 ++++ converters/py-unicode-slugify/Makefile | 17 +++++++++++++++++ converters/py-unicode-slugify/PLIST | 13 +++++++++++++ converters/py-unicode-slugify/distinfo | 6 ++++++ 5 files changed, 42 insertions(+), 1 deletion(-) create mode 100644 converters/py-unicode-slugify/DESCR create mode 100644 converters/py-unicode-slugify/Makefile create mode 100644 converters/py-unicode-slugify/PLIST create mode 100644 converters/py-unicode-slugify/distinfo (limited to 'converters') diff --git a/converters/Makefile b/converters/Makefile index 53bc6af4f24..2cd90c5b7f7 100644 --- a/converters/Makefile +++ b/converters/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.175 2020/02/12 14:11:22 fcambus Exp $ +# $NetBSD: Makefile,v 1.176 2020/05/01 17:50:59 nia Exp $ # COMMENT= Document format and character code converters @@ -116,6 +116,7 @@ SUBDIR+= py-confusable_homoglyphs SUBDIR+= py-emoji SUBDIR+= py-jpCodecs SUBDIR+= py-simplejson +SUBDIR+= py-unicode-slugify SUBDIR+= py-yenc SUBDIR+= py-zbase32 SUBDIR+= py-zfec diff --git a/converters/py-unicode-slugify/DESCR b/converters/py-unicode-slugify/DESCR new file mode 100644 index 00000000000..60d8664d085 --- /dev/null +++ b/converters/py-unicode-slugify/DESCR @@ -0,0 +1,4 @@ +Unicode Slugify is a slugifier that generates unicode slugs. It was originally +used in the Firefox Add-ons web site to generate slugs for add-ons and add-on +collections. Many of these add-ons and collections had unicode characters +and required more than simple transliteration. diff --git a/converters/py-unicode-slugify/Makefile b/converters/py-unicode-slugify/Makefile new file mode 100644 index 00000000000..559762fd647 --- /dev/null +++ b/converters/py-unicode-slugify/Makefile @@ -0,0 +1,17 @@ +# $NetBSD: Makefile,v 1.1 2020/05/01 17:50:59 nia Exp $ + +DISTNAME= unicode-slugify-0.1.3 +PKGNAME= ${PYPKGPREFIX}-${DISTNAME} +CATEGORIES= converters python +MASTER_SITES= ${MASTER_SITE_PYPI:=u/unicode-slugify/} + +MAINTAINER= pkgsrc-users@NetBSD.org +HOMEPAGE= https://github.com/mozilla/unicode-slugify +COMMENT= Slug generator that turns strings into unicode slugs +LICENSE= modified-bsd + +DEPENDS+= ${PYPKGPREFIX}-six-[0-9]*:../../lang/py-six +DEPENDS+= ${PYPKGPREFIX}-Unidecode-[0-9]*:../../textproc/py-Unidecode + +.include "../../lang/python/egg.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/converters/py-unicode-slugify/PLIST b/converters/py-unicode-slugify/PLIST new file mode 100644 index 00000000000..8f6d1c85790 --- /dev/null +++ b/converters/py-unicode-slugify/PLIST @@ -0,0 +1,13 @@ +@comment $NetBSD: PLIST,v 1.1 2020/05/01 17:50:59 nia Exp $ +${PYSITELIB}/slugify/__init__.py +${PYSITELIB}/slugify/__init__.pyo +${PYSITELIB}/slugify/__init__.pyc +${PYSITELIB}/slugify/tests.pyo +${PYSITELIB}/slugify/tests.pyc +${PYSITELIB}/slugify/tests.py +${PYSITELIB}/${EGG_INFODIR}/PKG-INFO +${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt +${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt +${PYSITELIB}/${EGG_INFODIR}/not-zip-safe +${PYSITELIB}/${EGG_INFODIR}/requires.txt +${PYSITELIB}/${EGG_INFODIR}/top_level.txt diff --git a/converters/py-unicode-slugify/distinfo b/converters/py-unicode-slugify/distinfo new file mode 100644 index 00000000000..581615abe2f --- /dev/null +++ b/converters/py-unicode-slugify/distinfo @@ -0,0 +1,6 @@ +$NetBSD: distinfo,v 1.1 2020/05/01 17:50:59 nia Exp $ + +SHA1 (unicode-slugify-0.1.3.tar.gz) = 077cfd0c226f6b2cab3c84b340cd9693ce9939fc +RMD160 (unicode-slugify-0.1.3.tar.gz) = 16fbfb4614658bb4fb2217484ebece362d140e0d +SHA512 (unicode-slugify-0.1.3.tar.gz) = 509414c8b3603f3b092390ee29f52b6a22de45d904fcfa5554f2c1188a35ac090781050642b0b7bf068d1b30ce424342878e646db98b592712f47595528911a1 +Size (unicode-slugify-0.1.3.tar.gz) = 4430 bytes -- cgit v1.2.3