summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoradam <adam@pkgsrc.org>2020-01-08 20:53:28 +0000
committeradam <adam@pkgsrc.org>2020-01-08 20:53:28 +0000
commitce85a7018d10bd032701951da04fbe746cd62f37 (patch)
tree1b8f03a0c2ca6e02d3d9e7a260419d587f963f7a
parentf8e5b126b30dee55dd0b9f88e56f983bb86f2831 (diff)
downloadpkgsrc-ce85a7018d10bd032701951da04fbe746cd62f37.tar.gz
py-hstspreload: added version 2020.1.7
The package provides a single function: in_hsts_preload() which takes an IDNA-encoded host and returns either True or False regarding whether that host should be only accessed via HTTPS.
-rw-r--r--www/py-hstspreload/DESCR3
-rw-r--r--www/py-hstspreload/Makefile16
-rw-r--r--www/py-hstspreload/PLIST10
-rw-r--r--www/py-hstspreload/distinfo6
4 files changed, 35 insertions, 0 deletions
diff --git a/www/py-hstspreload/DESCR b/www/py-hstspreload/DESCR
new file mode 100644
index 00000000000..87f446aed52
--- /dev/null
+++ b/www/py-hstspreload/DESCR
@@ -0,0 +1,3 @@
+The package provides a single function: in_hsts_preload() which takes an
+IDNA-encoded host and returns either True or False regarding whether that host
+should be only accessed via HTTPS.
diff --git a/www/py-hstspreload/Makefile b/www/py-hstspreload/Makefile
new file mode 100644
index 00000000000..6f57fcc01c0
--- /dev/null
+++ b/www/py-hstspreload/Makefile
@@ -0,0 +1,16 @@
+# $NetBSD: Makefile,v 1.1 2020/01/08 20:53:28 adam Exp $
+
+DISTNAME= hstspreload-2020.1.7
+PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
+CATEGORIES= www python
+MASTER_SITES= ${MASTER_SITE_PYPI:=h/hstspreload/}
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= https://github.com/sethmlarson/hstspreload
+COMMENT= Chromium HSTS Preload list
+LICENSE= modified-bsd
+
+USE_LANGUAGES= # none
+
+.include "../../lang/python/egg.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/www/py-hstspreload/PLIST b/www/py-hstspreload/PLIST
new file mode 100644
index 00000000000..ad29adf5128
--- /dev/null
+++ b/www/py-hstspreload/PLIST
@@ -0,0 +1,10 @@
+@comment $NetBSD: PLIST,v 1.1 2020/01/08 20:53:28 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}/hstspreload/__init__.py
+${PYSITELIB}/hstspreload/__init__.pyc
+${PYSITELIB}/hstspreload/__init__.pyo
+${PYSITELIB}/hstspreload/hstspreload.bin
diff --git a/www/py-hstspreload/distinfo b/www/py-hstspreload/distinfo
new file mode 100644
index 00000000000..bc0b071b954
--- /dev/null
+++ b/www/py-hstspreload/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2020/01/08 20:53:28 adam Exp $
+
+SHA1 (hstspreload-2020.1.7.tar.gz) = 6ad61d7ee53b56a41eb2137ab47c3289a1346431
+RMD160 (hstspreload-2020.1.7.tar.gz) = b301a3cd760eeaac69908eb7002721fb50ea5fb2
+SHA512 (hstspreload-2020.1.7.tar.gz) = 685ab8a2ee4be94cd5d53ca5abd428d116f7dd36bb290016c83b2f11965f28a83af54527750045f85f951925ca1ffa1954b798ae23555ed5b76555def1484f24
+Size (hstspreload-2020.1.7.tar.gz) = 723136 bytes