aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2012-01-15 03:24:38 +0800
committermiwi <miwi@FreeBSD.org>2012-01-15 03:24:38 +0800
commite6b82ccbb288696233a4445a2ae7c263310a5fc8 (patch)
tree6e6622ac445c7fec7326d4d9c7b370178da73a1e
parent0b0d5cb13f576b835a5549fc4636204b258b8bfb (diff)
downloadfreebsd-ports-gnome-e6b82ccbb288696233a4445a2ae7c263310a5fc8.tar.gz
freebsd-ports-gnome-e6b82ccbb288696233a4445a2ae7c263310a5fc8.tar.zst
freebsd-ports-gnome-e6b82ccbb288696233a4445a2ae7c263310a5fc8.zip
Certifi: Python Mozilla's SSL Certificates.
WWW: http://pypi.python.org/pypi/certifi/ PR: ports/163970 Submitted by: Olivier Duchateau <duchateau.olivier@gmail.com>
-rw-r--r--security/Makefile1
-rw-r--r--security/py-certify/Makefile23
-rw-r--r--security/py-certify/distinfo2
-rw-r--r--security/py-certify/pkg-descr3
-rw-r--r--security/py-certify/pkg-plist8
5 files changed, 37 insertions, 0 deletions
diff --git a/security/Makefile b/security/Makefile
index 221f686bb2fe..b11a498d6c7e 100644
--- a/security/Makefile
+++ b/security/Makefile
@@ -693,6 +693,7 @@
SUBDIR += py-bcrypt
SUBDIR += py-borg.localrole
SUBDIR += py-cerealizer
+ SUBDIR += py-certify
SUBDIR += py-clamav
SUBDIR += py-crack
SUBDIR += py-cryptkit
diff --git a/security/py-certify/Makefile b/security/py-certify/Makefile
new file mode 100644
index 000000000000..ed7cbf66515e
--- /dev/null
+++ b/security/py-certify/Makefile
@@ -0,0 +1,23 @@
+# New ports collection makefile for: py-certifi
+# Date created: 2012-01-02
+# Whom: Olivier Duchateau <duchateau.olivier@gmail.com>
+#
+# $FreeBSD$
+#
+
+PORTNAME= certifi
+PORTVERSION= 0.0.6
+CATEGORIES= security python
+MASTER_SITES= CHEESESHOP
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= duchateau.olivier@gmail.com
+COMMENT= Mozilla's SSL certificates
+
+USE_PYTHON= 2.6+
+USE_PYDISTUTILS= yes
+
+post-install:
+ @${REINPLACE_CMD} -e 's| include_| #include_|' ${WRKSRC}/setup.py
+
+.include <bsd.port.mk>
diff --git a/security/py-certify/distinfo b/security/py-certify/distinfo
new file mode 100644
index 000000000000..ca86008c4e7a
--- /dev/null
+++ b/security/py-certify/distinfo
@@ -0,0 +1,2 @@
+SHA256 (certifi-0.0.6.tar.gz) = e839718ce80daa9853b1f47a333757d4a22cdf422e2fd8de5e579d5634a89585
+SIZE (certifi-0.0.6.tar.gz) = 118451
diff --git a/security/py-certify/pkg-descr b/security/py-certify/pkg-descr
new file mode 100644
index 000000000000..a740bef1f652
--- /dev/null
+++ b/security/py-certify/pkg-descr
@@ -0,0 +1,3 @@
+Certifi: Python Mozilla's SSL Certificates.
+
+WWW: http://pypi.python.org/pypi/certifi/
diff --git a/security/py-certify/pkg-plist b/security/py-certify/pkg-plist
new file mode 100644
index 000000000000..7a4f43e12642
--- /dev/null
+++ b/security/py-certify/pkg-plist
@@ -0,0 +1,8 @@
+%%PYTHON_SITELIBDIR%%/certifi/__init__.py
+%%PYTHON_SITELIBDIR%%/certifi/__init__.pyc
+%%PYTHON_SITELIBDIR%%/certifi/__init__.pyo
+%%PYTHON_SITELIBDIR%%/certifi/cacert.pem
+%%PYTHON_SITELIBDIR%%/certifi/core.py
+%%PYTHON_SITELIBDIR%%/certifi/core.pyc
+%%PYTHON_SITELIBDIR%%/certifi/core.pyo
+@dirrm %%PYTHON_SITELIBDIR%%/certifi