aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason E. Hale <jhale@FreeBSD.org>2018-08-01 00:30:55 +0000
committerJason E. Hale <jhale@FreeBSD.org>2018-08-01 00:30:55 +0000
commitfc1f1c15a29dedbcd6b69446cebc8ddee4d1e7b8 (patch)
tree040d935a81aa51a8eecc7b1474bf61022886fa8d
parent97d51632f127535146a836be5da62a90f94fb857 (diff)
downloadports-fc1f1c15a29dedbcd6b69446cebc8ddee4d1e7b8.tar.gz
ports-fc1f1c15a29dedbcd6b69446cebc8ddee4d1e7b8.zip
New port: www/py-path-and-address
Path-and-address resolves ambiguities for command-line interface applications with the following pattern: $ your_app [<path>] [<address>] The library applies the principal of least surprise to command-line interfaces. WWW: https://github.com/joeyespo/path-and-address
Notes
Notes: svn path=/head/; revision=476143
-rw-r--r--www/Makefile1
-rw-r--r--www/py-path-and-address/Makefile19
-rw-r--r--www/py-path-and-address/distinfo3
-rw-r--r--www/py-path-and-address/pkg-descr9
4 files changed, 32 insertions, 0 deletions
diff --git a/www/Makefile b/www/Makefile
index 6aa41ddf0daa..b1364b273e69 100644
--- a/www/Makefile
+++ b/www/Makefile
@@ -1729,6 +1729,7 @@
SUBDIR += py-paste
SUBDIR += py-pastedeploy
SUBDIR += py-pastescript
+ SUBDIR += py-path-and-address
SUBDIR += py-pelican
SUBDIR += py-planet
SUBDIR += py-plone.alterego
diff --git a/www/py-path-and-address/Makefile b/www/py-path-and-address/Makefile
new file mode 100644
index 000000000000..6c0d2c9d889a
--- /dev/null
+++ b/www/py-path-and-address/Makefile
@@ -0,0 +1,19 @@
+# $FreeBSD$
+
+PORTNAME= path-and-address
+PORTVERSION= 2.0.1
+CATEGORIES= www python
+MASTER_SITES= CHEESESHOP
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= jhale@FreeBSD.org
+COMMENT= Functions for command-line server tools
+
+LICENSE= MIT
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+NO_ARCH= yes
+USES= python zip
+USE_PYTHON= autoplist distutils
+
+.include <bsd.port.mk>
diff --git a/www/py-path-and-address/distinfo b/www/py-path-and-address/distinfo
new file mode 100644
index 000000000000..987c18d328a5
--- /dev/null
+++ b/www/py-path-and-address/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1525012350
+SHA256 (path-and-address-2.0.1.zip) = e96363d982b3a2de8531f4cd5f086b51d0248b58527227d43cf5014d045371b7
+SIZE (path-and-address-2.0.1.zip) = 6503
diff --git a/www/py-path-and-address/pkg-descr b/www/py-path-and-address/pkg-descr
new file mode 100644
index 000000000000..3332d302894b
--- /dev/null
+++ b/www/py-path-and-address/pkg-descr
@@ -0,0 +1,9 @@
+Path-and-address resolves ambiguities for command-line interface
+applications with the following pattern:
+
+$ your_app [<path>] [<address>]
+
+The library applies the principal of least surprise to command-line
+interfaces.
+
+WWW: https://github.com/joeyespo/path-and-address