aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYuri Victorovich <yuri@FreeBSD.org>2018-03-28 06:04:53 +0800
committerYuri Victorovich <yuri@FreeBSD.org>2018-03-28 06:04:53 +0800
commit19cc258e4456e392520f5a21c353b635ff1e0f72 (patch)
tree59e630a838073c447fdf511b4353ddee1120ae5a
parent6f50f986794f1b9a9eee36704a5704f3179aab7a (diff)
downloadfreebsd-ports-19cc258e4456e392520f5a21c353b635ff1e0f72.tar.gz
freebsd-ports-19cc258e4456e392520f5a21c353b635ff1e0f72.tar.zst
freebsd-ports-19cc258e4456e392520f5a21c353b635ff1e0f72.zip
New port: devel/py-inflection: Ruby on Rails' inflector ported to Python
PR: 227014 Submitted by: Kai <freebsd_ports@k-worx.org>
Notes
Notes: svn path=/head/; revision=465767
-rw-r--r--devel/Makefile1
-rw-r--r--devel/py-inflection/Makefile19
-rw-r--r--devel/py-inflection/distinfo3
-rw-r--r--devel/py-inflection/pkg-descr5
4 files changed, 28 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile
index 3fe9e860ea4d..ad3d912e79ab 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -4518,6 +4518,7 @@
SUBDIR += py-imgkit
SUBDIR += py-incremental
SUBDIR += py-inflect
+ SUBDIR += py-inflection
SUBDIR += py-iniparse
SUBDIR += py-initgroups
SUBDIR += py-instant
diff --git a/devel/py-inflection/Makefile b/devel/py-inflection/Makefile
new file mode 100644
index 000000000000..2be0b7b72626
--- /dev/null
+++ b/devel/py-inflection/Makefile
@@ -0,0 +1,19 @@
+# $FreeBSD$
+
+PORTNAME= inflection
+DISTVERSION= 0.3.1
+CATEGORIES= devel python
+MASTER_SITES= CHEESESHOP
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= freebsd_ports@k-worx.org
+COMMENT= Ruby on Rails' inflector ported to Python
+
+LICENSE= MIT
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+USES= python
+USE_PYTHON= distutils autoplist
+NO_ARCH= yes
+
+.include <bsd.port.mk>
diff --git a/devel/py-inflection/distinfo b/devel/py-inflection/distinfo
new file mode 100644
index 000000000000..ee6f7d347b4a
--- /dev/null
+++ b/devel/py-inflection/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1522167352
+SHA256 (inflection-0.3.1.tar.gz) = 18ea7fb7a7d152853386523def08736aa8c32636b047ade55f7578c4edeb16ca
+SIZE (inflection-0.3.1.tar.gz) = 8715
diff --git a/devel/py-inflection/pkg-descr b/devel/py-inflection/pkg-descr
new file mode 100644
index 000000000000..d4c0ad92ac30
--- /dev/null
+++ b/devel/py-inflection/pkg-descr
@@ -0,0 +1,5 @@
+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.
+
+WWW: https://github.com/jpvanhal/inflection