pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/time/py-strict-rfc3339
Module Name: pkgsrc
Committed By: wiz
Date: Sat Aug 10 09:12:33 UTC 2024
Added Files:
pkgsrc/time/py-strict-rfc3339: DESCR Makefile PLIST distinfo
Log Message:
time/py-strict-rfc3339: import py-strict-rfc3339-0.7
Strict, simple, lightweight RFC3339 functions
Goals
-----
- Convert unix timestamps to and from RFC3339.
- Either produce RFC3339 strings with a UTC offset (Z) or with the offset
that the C time module reports is the local timezone offset.
- Simple with minimal dependencies/libraries.
- Avoid timezones as much as possible.
- Be very strict and follow RFC3339.
To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/time/py-strict-rfc3339/DESCR \
pkgsrc/time/py-strict-rfc3339/Makefile \
pkgsrc/time/py-strict-rfc3339/PLIST \
pkgsrc/time/py-strict-rfc3339/distinfo
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Added files:
Index: pkgsrc/time/py-strict-rfc3339/DESCR
diff -u /dev/null pkgsrc/time/py-strict-rfc3339/DESCR:1.1
--- /dev/null Sat Aug 10 09:12:33 2024
+++ pkgsrc/time/py-strict-rfc3339/DESCR Sat Aug 10 09:12:33 2024
@@ -0,0 +1,11 @@
+Strict, simple, lightweight RFC3339 functions
+
+Goals
+-----
+
+ - Convert unix timestamps to and from RFC3339.
+ - Either produce RFC3339 strings with a UTC offset (Z) or with the offset
+ that the C time module reports is the local timezone offset.
+ - Simple with minimal dependencies/libraries.
+ - Avoid timezones as much as possible.
+ - Be very strict and follow RFC3339.
Index: pkgsrc/time/py-strict-rfc3339/Makefile
diff -u /dev/null pkgsrc/time/py-strict-rfc3339/Makefile:1.1
--- /dev/null Sat Aug 10 09:12:33 2024
+++ pkgsrc/time/py-strict-rfc3339/Makefile Sat Aug 10 09:12:33 2024
@@ -0,0 +1,20 @@
+# $NetBSD: Makefile,v 1.1 2024/08/10 09:12:33 wiz Exp $
+
+DISTNAME= strict-rfc3339-0.7
+PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
+CATEGORIES= time python
+MASTER_SITES= ${MASTER_SITE_PYPI:=s/strict-rfc3339/}
+
+MAINTAINER= pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE= http://www.danielrichman.co.uk/libraries/strict-rfc3339.html
+COMMENT= Strict, simple, lightweight RFC3339 functions
+LICENSE= gnu-gpl-v3
+
+TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools-[0-9]*:../../devel/py-setuptools
+TOOL_DEPENDS+= ${PYPKGPREFIX}-wheel-[0-9]*:../../devel/py-wheel
+#DEPENDS+= ${PYPKGPREFIX}-pytz-[0-9]*:../../time/py-pytz
+
+USE_LANGUAGES= # none
+
+.include "../../lang/python/wheel.mk"
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/time/py-strict-rfc3339/PLIST
diff -u /dev/null pkgsrc/time/py-strict-rfc3339/PLIST:1.1
--- /dev/null Sat Aug 10 09:12:33 2024
+++ pkgsrc/time/py-strict-rfc3339/PLIST Sat Aug 10 09:12:33 2024
@@ -0,0 +1,10 @@
+@comment $NetBSD: PLIST,v 1.1 2024/08/10 09:12:33 wiz Exp $
+${PYSITELIB}/${WHEEL_INFODIR}/AUTHORS
+${PYSITELIB}/${WHEEL_INFODIR}/LICENSE
+${PYSITELIB}/${WHEEL_INFODIR}/METADATA
+${PYSITELIB}/${WHEEL_INFODIR}/RECORD
+${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
+${PYSITELIB}/${WHEEL_INFODIR}/top_level.txt
+${PYSITELIB}/strict_rfc3339.py
+${PYSITELIB}/strict_rfc3339.pyc
+${PYSITELIB}/strict_rfc3339.pyo
Index: pkgsrc/time/py-strict-rfc3339/distinfo
diff -u /dev/null pkgsrc/time/py-strict-rfc3339/distinfo:1.1
--- /dev/null Sat Aug 10 09:12:33 2024
+++ pkgsrc/time/py-strict-rfc3339/distinfo Sat Aug 10 09:12:33 2024
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2024/08/10 09:12:33 wiz Exp $
+
+BLAKE2s (strict-rfc3339-0.7.tar.gz) = bda2ff21f96718a552c01949e81fbbbfd5dcab1f214eb66c732d44ea4e689d4b
+SHA512 (strict-rfc3339-0.7.tar.gz) = 94a2992a9ea41b75527348f0f8dae1d118d57b0764122f874baa85f5e3b523beb219ed83c2d7224725e504cd3737a6bde485957135856dcde470f32675e44e77
+Size (strict-rfc3339-0.7.tar.gz) = 17552 bytes
Home |
Main Index |
Thread Index |
Old Index