pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/security py-trustme: added version 0.4.0



details:   https://anonhg.NetBSD.org/pkgsrc/rev/81f1a512dd3a
branches:  trunk
changeset: 312561:81f1a512dd3a
user:      adam <adam%pkgsrc.org@localhost>
date:      Thu Sep 06 13:36:16 2018 +0000

description:
py-trustme: added version 0.4.0

trustme is a tiny Python package that does one thing: it gives you a fake
certificate authority (CA) that you can use to generate fake TLS certs to use
in your tests. Well, technically they're real certs, they're just signed by
your CA, which nobody trusts. But you can trust it. Trust me.

diffstat:

 security/Makefile            |   3 ++-
 security/py-trustme/DESCR    |   4 ++++
 security/py-trustme/Makefile |  27 +++++++++++++++++++++++++++
 security/py-trustme/PLIST    |  12 ++++++++++++
 security/py-trustme/distinfo |   6 ++++++
 5 files changed, 51 insertions(+), 1 deletions(-)

diffs (82 lines):

diff -r 3cdf35b9eb8e -r 81f1a512dd3a security/Makefile
--- a/security/Makefile Thu Sep 06 13:28:00 2018 +0000
+++ b/security/Makefile Thu Sep 06 13:36:16 2018 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.687 2018/09/05 09:21:51 adam Exp $
+# $NetBSD: Makefile,v 1.688 2018/09/06 13:36:16 adam Exp $
 #
 
 COMMENT=       Security tools
@@ -451,6 +451,7 @@
 SUBDIR+=       py-smbpasswd
 SUBDIR+=       py-stix
 SUBDIR+=       py-tlslite
+SUBDIR+=       py-trustme
 SUBDIR+=       py-trytond-authentication-sms
 SUBDIR+=       py-u2f
 SUBDIR+=       py-urllib2-kerberos
diff -r 3cdf35b9eb8e -r 81f1a512dd3a security/py-trustme/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/security/py-trustme/DESCR Thu Sep 06 13:36:16 2018 +0000
@@ -0,0 +1,4 @@
+trustme is a tiny Python package that does one thing: it gives you a fake
+certificate authority (CA) that you can use to generate fake TLS certs to use
+in your tests. Well, technically they're real certs, they're just signed by
+your CA, which nobody trusts. But you can trust it. Trust me.
diff -r 3cdf35b9eb8e -r 81f1a512dd3a security/py-trustme/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/security/py-trustme/Makefile      Thu Sep 06 13:36:16 2018 +0000
@@ -0,0 +1,27 @@
+# $NetBSD: Makefile,v 1.1 2018/09/06 13:36:16 adam Exp $
+
+DISTNAME=      trustme-0.4.0
+PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
+CATEGORIES=    security python
+MASTER_SITES=  ${MASTER_SITE_PYPI:=t/trustme/}
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      https://github.com/python-trio/trustme
+COMMENT=       Number on quality TLS certs while you wait
+LICENSE=       apache-2.0 OR mit
+
+DEPENDS+=      ${PYPKGPREFIX}-cryptography-[0-9]*:../../security/py-cryptography
+DEPENDS+=      ${PYPKGPREFIX}-idna-[0-9]*:../../www/py-idna
+TEST_DEPENDS+= ${PYPKGPREFIX}-service_identity-[0-9]*:../../security/py-service_identity
+TEST_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
+
+.include "../../lang/python/pyversion.mk"
+.if ${_PYTHON_VERSION} == 27
+DEPENDS+=      ${PYPKGPREFIX}-ipaddress-[0-9]*:../../net/py-ipaddress
+.endif
+
+do-test:
+       cd ${WRKSRC} && pytest-${PYVERSSUFFIX} tests
+
+.include "../../lang/python/egg.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 3cdf35b9eb8e -r 81f1a512dd3a security/py-trustme/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/security/py-trustme/PLIST Thu Sep 06 13:36:16 2018 +0000
@@ -0,0 +1,12 @@
+@comment $NetBSD: PLIST,v 1.1 2018/09/06 13:36:16 adam Exp $
+${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
+${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
+${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
+${PYSITELIB}/${EGG_INFODIR}/requires.txt
+${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+${PYSITELIB}/trustme/__init__.py
+${PYSITELIB}/trustme/__init__.pyc
+${PYSITELIB}/trustme/__init__.pyo
+${PYSITELIB}/trustme/_version.py
+${PYSITELIB}/trustme/_version.pyc
+${PYSITELIB}/trustme/_version.pyo
diff -r 3cdf35b9eb8e -r 81f1a512dd3a security/py-trustme/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/security/py-trustme/distinfo      Thu Sep 06 13:36:16 2018 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2018/09/06 13:36:16 adam Exp $
+
+SHA1 (trustme-0.4.0.tar.gz) = af8415f9b666fc5e043b09970c40baedda164c0d
+RMD160 (trustme-0.4.0.tar.gz) = e068a457db320d0f477149e8d5b1dda0a7aac521
+SHA512 (trustme-0.4.0.tar.gz) = bd12b0ebe076f65fd5d63e9b9c792672cd51ff630dd24200d2cdd488ea57fc0702d5f1f56ba5ab99836a4e6963e29c307c9c97ca84604fc894a7e95ed404ae8f
+Size (trustme-0.4.0.tar.gz) = 22023 bytes



Home | Main Index | Thread Index | Old Index