pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/devel
Module Name: pkgsrc
Committed By: bsiegert
Date: Thu Nov 25 19:33:58 UTC 2021
Modified Files:
pkgsrc/devel: Makefile
Added Files:
pkgsrc/devel/py-confuse: DESCR Makefile PLIST distinfo
pkgsrc/devel/py-confuse/patches: patch-setup.py
Log Message:
New package, py-confuse. Part of PR pkg/56378.
Confuse is a configuration library for Python that uses YAML. It takes
care of defaults, overrides, type checking, command-line integration,
human-readable errors, and standard OS-specific locations.
Here's what Confuse brings to the table:
- An utterly sensible API resembling dictionary-and-list structures
but providing transparent validation without lots of boilerplate
code.
- Combine configuration data from multiple sources. Using
layering, Confuse allows user-specific configuration to seamlessly
override system-wide configuration, which in turn overrides built-in
defaults.
- Look for configuration files in platform-specific paths.
- Integration with command-line arguments via argparse or optparse
from the standard library.
To generate a diff of this commit:
cvs rdiff -u -r1.3515 -r1.3516 pkgsrc/devel/Makefile
cvs rdiff -u -r0 -r1.1 pkgsrc/devel/py-confuse/DESCR \
pkgsrc/devel/py-confuse/Makefile pkgsrc/devel/py-confuse/PLIST \
pkgsrc/devel/py-confuse/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/devel/py-confuse/patches/patch-setup.py
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/devel/Makefile
diff -u pkgsrc/devel/Makefile:1.3515 pkgsrc/devel/Makefile:1.3516
--- pkgsrc/devel/Makefile:1.3515 Wed Nov 24 09:39:23 2021
+++ pkgsrc/devel/Makefile Thu Nov 25 19:33:58 2021
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3515 2021/11/24 09:39:23 wiz Exp $
+# $NetBSD: Makefile,v 1.3516 2021/11/25 19:33:58 bsiegert Exp $
#
COMMENT= Development utilities
@@ -2237,6 +2237,7 @@ SUBDIR+= py-compizconfig
SUBDIR+= py-configargparse
SUBDIR+= py-configobj
SUBDIR+= py-configparser
+SUBDIR+= py-confuse
SUBDIR+= py-constantly
SUBDIR+= py-constants
SUBDIR+= py-construct
Added files:
Index: pkgsrc/devel/py-confuse/DESCR
diff -u /dev/null pkgsrc/devel/py-confuse/DESCR:1.1
--- /dev/null Thu Nov 25 19:33:58 2021
+++ pkgsrc/devel/py-confuse/DESCR Thu Nov 25 19:33:58 2021
@@ -0,0 +1,16 @@
+Confuse is a configuration library for Python that uses YAML. It takes
+care of defaults, overrides, type checking, command-line integration,
+human-readable errors, and standard OS-specific locations.
+
+Here's what Confuse brings to the table:
+
+- An utterly sensible API resembling dictionary-and-list structures
+ but providing transparent validation without lots of boilerplate
+ code.
+- Combine configuration data from multiple sources. Using
+ layering, Confuse allows user-specific configuration to seamlessly
+ override system-wide configuration, which in turn overrides built-in
+ defaults.
+- Look for configuration files in platform-specific paths.
+- Integration with command-line arguments via argparse or optparse
+ from the standard library.
Index: pkgsrc/devel/py-confuse/Makefile
diff -u /dev/null pkgsrc/devel/py-confuse/Makefile:1.1
--- /dev/null Thu Nov 25 19:33:58 2021
+++ pkgsrc/devel/py-confuse/Makefile Thu Nov 25 19:33:58 2021
@@ -0,0 +1,18 @@
+# $NetBSD: Makefile,v 1.1 2021/11/25 19:33:58 bsiegert Exp $
+
+DISTNAME= confuse-1.6.0
+PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
+CATEGORIES= devel python
+MASTER_SITES= https://files.pythonhosted.org/packages/db/ec/fd93d96a32f54a3e19124179e86cced96da590d946c739a599f26d775a5f/
+
+MAINTAINER= bsiegert%NetBSD.org@localhost
+HOMEPAGE= https://github.com/beetbox/confuse
+COMMENT= Painless YAML configuration
+LICENSE= mit
+
+DEPENDS+= ${PYPKGPREFIX}-yaml-[0-9]*:../../textproc/py-yaml
+
+USE_LANGUAGES= # none
+
+.include "../../lang/python/egg.mk"
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/devel/py-confuse/PLIST
diff -u /dev/null pkgsrc/devel/py-confuse/PLIST:1.1
--- /dev/null Thu Nov 25 19:33:58 2021
+++ pkgsrc/devel/py-confuse/PLIST Thu Nov 25 19:33:58 2021
@@ -0,0 +1,27 @@
+@comment $NetBSD: PLIST,v 1.1 2021/11/25 19:33:58 bsiegert 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}/confuse/__init__.py
+${PYSITELIB}/confuse/__init__.pyc
+${PYSITELIB}/confuse/__init__.pyo
+${PYSITELIB}/confuse/core.py
+${PYSITELIB}/confuse/core.pyc
+${PYSITELIB}/confuse/core.pyo
+${PYSITELIB}/confuse/exceptions.py
+${PYSITELIB}/confuse/exceptions.pyc
+${PYSITELIB}/confuse/exceptions.pyo
+${PYSITELIB}/confuse/sources.py
+${PYSITELIB}/confuse/sources.pyc
+${PYSITELIB}/confuse/sources.pyo
+${PYSITELIB}/confuse/templates.py
+${PYSITELIB}/confuse/templates.pyc
+${PYSITELIB}/confuse/templates.pyo
+${PYSITELIB}/confuse/util.py
+${PYSITELIB}/confuse/util.pyc
+${PYSITELIB}/confuse/util.pyo
+${PYSITELIB}/confuse/yaml_util.py
+${PYSITELIB}/confuse/yaml_util.pyc
+${PYSITELIB}/confuse/yaml_util.pyo
Index: pkgsrc/devel/py-confuse/distinfo
diff -u /dev/null pkgsrc/devel/py-confuse/distinfo:1.1
--- /dev/null Thu Nov 25 19:33:58 2021
+++ pkgsrc/devel/py-confuse/distinfo Thu Nov 25 19:33:58 2021
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2021/11/25 19:33:58 bsiegert Exp $
+
+BLAKE2s (confuse-1.6.0.tar.gz) = 78493c6c497b3759cc7f496f03378ded10ba041c599790967161813e33ebf8aa
+SHA512 (confuse-1.6.0.tar.gz) = e8883df408815e83e83f96621d89cb36e97d59db99a1ce01f0ccb28a4d538f58f0ee08d70505b388cd5c9a2aa8a3a75daf074dc72b133ae0b2128eda2d1330a3
+Size (confuse-1.6.0.tar.gz) = 45780 bytes
+SHA1 (patch-setup.py) = 5b1600286d44a5a02dc25ed84dfbf1e507fbd30b
Index: pkgsrc/devel/py-confuse/patches/patch-setup.py
diff -u /dev/null pkgsrc/devel/py-confuse/patches/patch-setup.py:1.1
--- /dev/null Thu Nov 25 19:33:58 2021
+++ pkgsrc/devel/py-confuse/patches/patch-setup.py Thu Nov 25 19:33:58 2021
@@ -0,0 +1,15 @@
+$NetBSD: patch-setup.py,v 1.1 2021/11/25 19:33:58 bsiegert Exp $
+
+Use setuptools, distutils does not support the options we use
+
+--- setup.py.orig 1970-01-01 00:00:00.000000000 +0000
++++ setup.py
+@@ -1,7 +1,7 @@
+ #!/usr/bin/env python
+ # setup.py generated by flit for tools that don't yet use PEP 517
+
+-from distutils.core import setup
++from setuptools import setup
+
+ packages = \
+ ['confuse']
Home |
Main Index |
Thread Index |
Old Index