pkgsrc-WIP-changes archive

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

py-http-status: add a package for http_status version 1.0.0.



Module Name:	pkgsrc-wip
Committed By:	Havard Eidnes <he%NetBSD.org@localhost>
Pushed By:	he
Date:		Tue Nov 17 15:30:41 2026 +0100
Changeset:	d575e0d93310640330b426e4b0595d52d283fad0

Added Files:
	py-http-status/DESCR
	py-http-status/Makefile
	py-http-status/PLIST
	py-http-status/distinfo

Log Message:
py-http-status: add a package for http_status version 1.0.0.

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=d575e0d93310640330b426e4b0595d52d283fad0

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 py-http-status/DESCR    |  1 +
 py-http-status/Makefile | 27 +++++++++++++++++++++++++++
 py-http-status/PLIST    | 14 ++++++++++++++
 py-http-status/distinfo |  5 +++++
 4 files changed, 47 insertions(+)

diffs:
diff --git a/py-http-status/DESCR b/py-http-status/DESCR
new file mode 100644
index 0000000000..6ac8bb8899
--- /dev/null
+++ b/py-http-status/DESCR
@@ -0,0 +1 @@
+A simple HTTP status code/name/description library for Python.
diff --git a/py-http-status/Makefile b/py-http-status/Makefile
new file mode 100644
index 0000000000..26f573c608
--- /dev/null
+++ b/py-http-status/Makefile
@@ -0,0 +1,27 @@
+# $NetBSD$
+
+DISTNAME=	http_status-1.0.0
+PKGNAME=	${PYPKGPREFIX}-${DISTNAME:S/_/-/}
+CATEGORIES=	www
+MASTER_SITES=	${MASTER_SITE_GITHUB:=DanielOaks/}
+GITHUB_PROJECT=	http_status
+GITHUB_TAG=	refs/tags/v${PKGVERSION_NOREV}
+FETCH_USING=	curl
+
+WRKSRC=		${WRKDIR}/${DISTNAME}
+
+MAINTAINER=	pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=	https://github.com/DanielOaks/http_status
+COMMENT=	Simple HTTP status code/description library
+LICENSE=	modified-bsd
+
+.include "../../lang/python/pyversion.mk"
+.include "../../mk/bsd.prefs.mk"
+
+TOOL_DEPENDS+=	${PYPKGPREFIX}-setuptools>=78:../../devel/py-setuptools
+
+# Workaround for using github tarball:
+MAKE_ENV+=	SETUPTOOLS_SCM_PRETEND_VERSION=${PKGVERSION}
+
+.include "../../lang/python/wheel.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/py-http-status/PLIST b/py-http-status/PLIST
new file mode 100644
index 0000000000..aa57cf7409
--- /dev/null
+++ b/py-http-status/PLIST
@@ -0,0 +1,14 @@
+@comment $NetBSD$
+${PYSITELIB}/${WHEEL_INFODIR}/METADATA
+${PYSITELIB}/${WHEEL_INFODIR}/RECORD
+${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
+${PYSITELIB}/${WHEEL_INFODIR}/top_level.txt
+${PYSITELIB}/http_status/__init__.py
+${PYSITELIB}/http_status/__init__.pyc
+${PYSITELIB}/http_status/__init__.pyo
+${PYSITELIB}/http_status/six.py
+${PYSITELIB}/http_status/six.pyc
+${PYSITELIB}/http_status/six.pyo
+${PYSITELIB}/http_status/test_http_status.py
+${PYSITELIB}/http_status/test_http_status.pyc
+${PYSITELIB}/http_status/test_http_status.pyo
diff --git a/py-http-status/distinfo b/py-http-status/distinfo
new file mode 100644
index 0000000000..4443787f11
--- /dev/null
+++ b/py-http-status/distinfo
@@ -0,0 +1,5 @@
+$NetBSD$
+
+BLAKE2s (http_status-1.0.0.tar.gz) = 541b3747641bb6a4927c982847c39667b956ecf141f014fc9ff3fb07c8f274bb
+SHA512 (http_status-1.0.0.tar.gz) = 1e83f47f511cc60cf6f27098c2cbe4547d8869e2c76bdb90599f0945795178773e77a83dd385a8fa29c88b9d04b4b55d8ba6111c739fa91f1d2f6a8460c64889
+Size (http_status-1.0.0.tar.gz) = 13312 bytes


Home | Main Index | Thread Index | Old Index