summaryrefslogtreecommitdiff
path: root/textproc
diff options
context:
space:
mode:
authoradam <adam@pkgsrc.org>2017-07-09 10:33:19 +0000
committeradam <adam@pkgsrc.org>2017-07-09 10:33:19 +0000
commit523bb2411278c79c3747a716598841da18b4ed4a (patch)
treeff448841e54cbbedcbc5996055e67a93af1f53c4 /textproc
parentd219de791cf84cc0d64591727d5e63483e9d7b70 (diff)
downloadpkgsrc-523bb2411278c79c3747a716598841da18b4ed4a.tar.gz
Inflection is a string transformation library. It singularizes and pluralizes
English words, and transforms strings from CamelCase to underscored string. Inflection is a port of Ruby on Rails' inflector to Python.
Diffstat (limited to 'textproc')
-rw-r--r--textproc/Makefile3
-rw-r--r--textproc/py-inflection/DESCR3
-rw-r--r--textproc/py-inflection/Makefile16
-rw-r--r--textproc/py-inflection/PLIST9
-rw-r--r--textproc/py-inflection/distinfo6
5 files changed, 36 insertions, 1 deletions
diff --git a/textproc/Makefile b/textproc/Makefile
index b51617f84b5..2a7f4ba32e1 100644
--- a/textproc/Makefile
+++ b/textproc/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.939 2017/07/06 02:34:50 markd Exp $
+# $NetBSD: Makefile,v 1.940 2017/07/09 10:33:19 adam Exp $
#
COMMENT= Text processing utilities (does not include desktop publishing)
@@ -733,6 +733,7 @@ SUBDIR+= py-guessit
SUBDIR+= py-html2text
SUBDIR+= py-html5lib
SUBDIR+= py-humanize
+SUBDIR+= py-inflection
SUBDIR+= py-iniparse
SUBDIR+= py-jellyfish
SUBDIR+= py-jinja2
diff --git a/textproc/py-inflection/DESCR b/textproc/py-inflection/DESCR
new file mode 100644
index 00000000000..739c0985414
--- /dev/null
+++ b/textproc/py-inflection/DESCR
@@ -0,0 +1,3 @@
+Inflection is a string transformation library. It singularizes and pluralizes
+English words, and transforms strings from CamelCase to underscored string.
+Inflection is a port of Ruby on Rails' inflector to Python.
diff --git a/textproc/py-inflection/Makefile b/textproc/py-inflection/Makefile
new file mode 100644
index 00000000000..5d82716fd86
--- /dev/null
+++ b/textproc/py-inflection/Makefile
@@ -0,0 +1,16 @@
+# $NetBSD: Makefile,v 1.1 2017/07/09 10:33:20 adam Exp $
+
+DISTNAME= inflection-0.3.1
+PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
+CATEGORIES= textproc python
+MASTER_SITES= ${MASTER_SITE_PYPI:=i/inflection/}
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= https://github.com/jpvanhal/inflection
+COMMENT= Port of Ruby on Rails inflector to Python
+LICENSE= mit
+
+USE_LANGUAGES= # none
+
+.include "../../lang/python/egg.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/textproc/py-inflection/PLIST b/textproc/py-inflection/PLIST
new file mode 100644
index 00000000000..ae46c2c3fc5
--- /dev/null
+++ b/textproc/py-inflection/PLIST
@@ -0,0 +1,9 @@
+@comment $NetBSD: PLIST,v 1.1 2017/07/09 10:33:20 adam Exp $
+${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}/top_level.txt
+${PYSITELIB}/inflection.py
+${PYSITELIB}/inflection.pyc
+${PYSITELIB}/inflection.pyo
diff --git a/textproc/py-inflection/distinfo b/textproc/py-inflection/distinfo
new file mode 100644
index 00000000000..aef77fee417
--- /dev/null
+++ b/textproc/py-inflection/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2017/07/09 10:33:20 adam Exp $
+
+SHA1 (inflection-0.3.1.tar.gz) = 4b42884984e8fbb1cde01ad3036e024b27909bd5
+RMD160 (inflection-0.3.1.tar.gz) = b8b3b28bf81f32ddf62cb784e102d63ea3c736ea
+SHA512 (inflection-0.3.1.tar.gz) = d1499ccbba2537914a738de8b6b24d69bd459d9b22bad1e838a8f7adc9b94054631bdb0557ac283cbfccae83a33a969dd44612df22b78f92eb27ae4ea999f560
+Size (inflection-0.3.1.tar.gz) = 8715 bytes