pkgsrc-WIP-changes archive

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

py-attr: add new package



Module Name:	pkgsrc-wip
Committed By:	Thomas Klausner <wiz%NetBSD.org@localhost>
Pushed By:	wiz
Date:		Sun Oct 25 13:47:39 2026 +0100
Changeset:	079e351092f4924cd5f45ea60e746c6b3e012a7f

Modified Files:
	Makefile
Added Files:
	py-attr/DESCR
	py-attr/Makefile
	py-attr/PLIST
	py-attr/distinfo

Log Message:
py-attr: add new package

Needed py-attrs after all, so park this here in case someone
else needs it.

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

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

diffstat:
 Makefile         |  4 +++-
 py-attr/DESCR    |  2 ++
 py-attr/Makefile | 18 ++++++++++++++++++
 py-attr/PLIST    | 12 ++++++++++++
 py-attr/distinfo |  5 +++++
 5 files changed, 40 insertions(+), 1 deletion(-)

diffs:
diff --git a/Makefile b/Makefile
index 1b7fb1a6c9..acd708e95e 100644
--- a/Makefile
+++ b/Makefile
@@ -1045,6 +1045,7 @@ SUBDIR+=	fogleman-craft
 SUBDIR+=	folly
 SUBDIR+=	fontaine
 SUBDIR+=	fonttosfnt
+SUBDIR+=	fooyin
 SUBDIR+=	forge
 SUBDIR+=	forgejo
 SUBDIR+=	forgejo-cli
@@ -2312,6 +2313,7 @@ SUBDIR+=	lua-MessagePack
 SUBDIR+=	lua-htmlparser
 SUBDIR+=	lua-lbn
 SUBDIR+=	lua-ldoc
+SUBDIR+=	lua-lpeg
 SUBDIR+=	lua-luacheck
 SUBDIR+=	luabind
 SUBDIR+=	luakit-git
@@ -3528,6 +3530,7 @@ SUBDIR+=	py-atmos
 SUBDIR+=	py-atom
 SUBDIR+=	py-atomicfile
 SUBDIR+=	py-atpy
+SUBDIR+=	py-attr
 SUBDIR+=	py-attrdict
 SUBDIR+=	py-attrs-strict
 SUBDIR+=	py-autoflake
@@ -6070,7 +6073,6 @@ SUBDIR+=	weave
 SUBDIR+=	web-mode
 SUBDIR+=	webbrowser
 SUBDIR+=	webcleaner
-SUBDIR+=	webdump
 SUBDIR+=	webhookd
 SUBDIR+=	wendzelnntpd
 SUBDIR+=	weplab
diff --git a/py-attr/DESCR b/py-attr/DESCR
new file mode 100644
index 0000000000..c603d340f1
--- /dev/null
+++ b/py-attr/DESCR
@@ -0,0 +1,2 @@
+Simple decorator to set attributes of target function or class in
+a DRY way.
diff --git a/py-attr/Makefile b/py-attr/Makefile
new file mode 100644
index 0000000000..08efb9b616
--- /dev/null
+++ b/py-attr/Makefile
@@ -0,0 +1,18 @@
+# $NetBSD$
+
+DISTNAME=	attr-0.3.2
+PKGNAME=	${PYPKGPREFIX}-${DISTNAME}
+CATEGORIES=	devel python
+MASTER_SITES=	${MASTER_SITE_PYPI:=a/attr/}
+
+MAINTAINER=	pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=	https://github.com/denis-ryzhkov/attr
+COMMENT=	Simple decorator to set attributes of target function or class in a DRY way
+LICENSE=	mit
+
+TOOL_DEPENDS+=	${PYPKGPREFIX}-setuptools-[0-9]*:../../devel/py-setuptools
+
+USE_LANGUAGES=	# none
+
+.include "../../lang/python/wheel.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/py-attr/PLIST b/py-attr/PLIST
new file mode 100644
index 0000000000..b4928183b4
--- /dev/null
+++ b/py-attr/PLIST
@@ -0,0 +1,12 @@
+@comment $NetBSD$
+${PYSITELIB}/${WHEEL_INFODIR}/METADATA
+${PYSITELIB}/${WHEEL_INFODIR}/RECORD
+${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
+${PYSITELIB}/${WHEEL_INFODIR}/licenses/LICENSE
+${PYSITELIB}/${WHEEL_INFODIR}/top_level.txt
+${PYSITELIB}/attr.py
+${PYSITELIB}/attr.pyc
+${PYSITELIB}/attr.pyo
+${PYSITELIB}/dry_attr.py
+${PYSITELIB}/dry_attr.pyc
+${PYSITELIB}/dry_attr.pyo
diff --git a/py-attr/distinfo b/py-attr/distinfo
new file mode 100644
index 0000000000..cac876eca2
--- /dev/null
+++ b/py-attr/distinfo
@@ -0,0 +1,5 @@
+$NetBSD$
+
+BLAKE2s (attr-0.3.2.tar.gz) = 66e7af829187928c99a924944e35e53fedcada9e9b103f8ac3fded2d8c535645
+SHA512 (attr-0.3.2.tar.gz) = 3491b4558cc87c31325876f110bf378e35a3055bf1a01f5249f0bb1e47465ca2323d5df19c007700d6634ccb80222e2eea9ce02abd8de6d2d45002fed3b668cb
+Size (attr-0.3.2.tar.gz) = 2649 bytes


Home | Main Index | Thread Index | Old Index