Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 18 Mar 2024 10:41:01 GMT
From:      Nuno Teixeira <eduardo@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 22f91cdde79a - main - devel/py-pnu-libpnu: New port: Common utility functions for the PNU project
Message-ID:  <202403181041.42IAf1UD069406@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by eduardo:

URL: https://cgit.FreeBSD.org/ports/commit/?id=22f91cdde79a944c2381bb3020e78bd7bd1abd92

commit 22f91cdde79a944c2381bb3020e78bd7bd1abd92
Author:     Hubert Tournier <hubert.tournier@gmail.com>
AuthorDate: 2024-03-18 10:35:25 +0000
Commit:     Nuno Teixeira <eduardo@FreeBSD.org>
CommitDate: 2024-03-18 10:35:25 +0000

    devel/py-pnu-libpnu: New port: Common utility functions for the PNU project
    
    - Submitter becomes maintainer
    
    pnu-libpnu is a Python library containing common functions for all the
    PNU project utilities. It has no known usage and usefulness beyond
    this project.
    
    (Dependency of upcomming Port Tree Linter port)
    
    PR:             277724
---
 devel/Makefile                            |  1 +
 devel/py-pnu-libpnu/Makefile              | 22 ++++++++++++++++++++++
 devel/py-pnu-libpnu/distinfo              |  3 +++
 devel/py-pnu-libpnu/files/patch-setup.cfg | 11 +++++++++++
 devel/py-pnu-libpnu/pkg-descr             |  3 +++
 5 files changed, 40 insertions(+)

diff --git a/devel/Makefile b/devel/Makefile
index 92708e150d09..55b91a896e10 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -5248,6 +5248,7 @@
     SUBDIR += py-plux
     SUBDIR += py-ply
     SUBDIR += py-pnio-dcp
+    SUBDIR += py-pnu-libpnu
     SUBDIR += py-pockets
     SUBDIR += py-podcastparser
     SUBDIR += py-poetry
diff --git a/devel/py-pnu-libpnu/Makefile b/devel/py-pnu-libpnu/Makefile
new file mode 100644
index 000000000000..c56518130cbd
--- /dev/null
+++ b/devel/py-pnu-libpnu/Makefile
@@ -0,0 +1,22 @@
+PORTNAME=	pnu-libpnu
+DISTVERSION=	1.3.0
+CATEGORIES=	devel python
+MASTER_SITES=	PYPI
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER=	hubert.tournier@gmail.com
+COMMENT=	Common utility functions for the PNU project
+WWW=		https://github.com/HubTou/libpnu
+
+LICENSE=	BSD3CLAUSE
+LICENSE_FILE=	${WRKSRC}/License
+
+BUILD_DEPENDS=	${PY_SETUPTOOLS} \
+		${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR}
+
+USES=		python shebangfix
+USE_PYTHON=	autoplist flavors pep517
+
+SHEBANG_FILES=	src/libpnu/*.py
+
+.include <bsd.port.mk>
diff --git a/devel/py-pnu-libpnu/distinfo b/devel/py-pnu-libpnu/distinfo
new file mode 100644
index 000000000000..0ed22a4aa592
--- /dev/null
+++ b/devel/py-pnu-libpnu/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1710528001
+SHA256 (pnu-libpnu-1.3.0.tar.gz) = 07b2fcb04621fd15322520eed5e3adb09f10255788891ac5fb9ae207e0774509
+SIZE (pnu-libpnu-1.3.0.tar.gz) = 9192
diff --git a/devel/py-pnu-libpnu/files/patch-setup.cfg b/devel/py-pnu-libpnu/files/patch-setup.cfg
new file mode 100644
index 000000000000..1ecef154e4f1
--- /dev/null
+++ b/devel/py-pnu-libpnu/files/patch-setup.cfg
@@ -0,0 +1,11 @@
+--- setup.cfg.orig	2024-03-16 06:58:47 UTC
++++ setup.cfg
+@@ -43,7 +43,7 @@ where = src
+ where = src
+ 
+ [options.data_files]
+-man/man3 = 
++share/man/man3 = 
+ 	man/libpnu.3.gz
+ 
+ [egg_info]
diff --git a/devel/py-pnu-libpnu/pkg-descr b/devel/py-pnu-libpnu/pkg-descr
new file mode 100644
index 000000000000..97f2bf67e449
--- /dev/null
+++ b/devel/py-pnu-libpnu/pkg-descr
@@ -0,0 +1,3 @@
+pnu-libpnu is a Python library containing common functions for all the
+PNU project utilities. It has no known usage and usefulness beyond
+this project.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202403181041.42IAf1UD069406>