View | Details | Raw Unified | Return to bug 277724 | Differences between
and this patch

Collapse All | Expand All

(-)b/devel/py-pnu-libpnu/Makefile (+27 lines)
Added Link Here
1
PORTNAME=	pnu-libpnu
2
DISTVERSION=	1.3.0
3
CATEGORIES=	devel python
4
MASTER_SITES=   PYPI
5
PKGNAMEPREFIX=  ${PYTHON_PKGNAMEPREFIX}
6
7
MAINTAINER=	hubert.tournier@gmail.com
8
COMMENT=	Common utility functions for the PNU project
9
WWW=		https://github.com/HubTou/libpnu
10
11
LICENSE=	BSD3CLAUSE
12
13
USES=		python:3.3+ shebangfix
14
USE_PYTHON=	flavors
15
SHEBANG_FILES=	src/libpnu/*.py
16
17
PLIST_SUB=      PYTHON_SITELIBDIR="${PYTHON_SITELIBDIR}" DISTVERSION="${DISTVERSION}"
18
19
pre-build:
20
	@${CP} files/* ${WRKSRC}
21
	@${REINPLACE_CMD} -e 's:stage_dir:${STAGEDIR}:g' \
22
			  -e 's:python_cmd:${PYTHON_CMD}:g' \
23
			  -e 's:python_site_lib_dir:${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}:g' \
24
			  -e 's:dist_version:${DISTVERSION}:g' \
25
			  ${WRKSRC}/Makefile
26
27
.include <bsd.port.mk>
(-)b/devel/py-pnu-libpnu/distinfo (+3 lines)
Added Link Here
1
TIMESTAMP = 1710528001
2
SHA256 (pnu-libpnu-1.3.0.tar.gz) = 07b2fcb04621fd15322520eed5e3adb09f10255788891ac5fb9ae207e0774509
3
SIZE (pnu-libpnu-1.3.0.tar.gz) = 9192
(-)b/devel/py-pnu-libpnu/files/Makefile (+24 lines)
Added Link Here
1
STAGEDIR=stage_dir
2
PYTHON_CMD=python_cmd
3
PYTHON_SITELIBDIR=python_site_lib_dir
4
DISTVERSION=dist_version
5
6
all:
7
	${PYTHON_CMD} -m compileall src/libpnu
8
9
install:
10
	@mkdir -p ${PYTHON_SITELIBDIR}/libpnu/__pycache__
11
	@install -m 0644 src/libpnu/__init__.py ${PYTHON_SITELIBDIR}/libpnu
12
	@install -m 0644 src/libpnu/main.py ${PYTHON_SITELIBDIR}/libpnu
13
	@install -m 0644 src/libpnu/__pycache__/__init__.cpython-*.pyc ${PYTHON_SITELIBDIR}/libpnu/__pycache__
14
	@install -m 0644 src/libpnu/__pycache__/main.cpython-*.pyc ${PYTHON_SITELIBDIR}/libpnu/__pycache__
15
	@install -m 0644 man/libpnu.3.gz ${STAGEDIR}/usr/local/share/man/man3
16
	@mkdir -p ${PYTHON_SITELIBDIR}/pnu_libpnu-${DISTVERSION}.dist-info
17
	@echo "pip" > ${PYTHON_SITELIBDIR}/pnu_libpnu-${DISTVERSION}.dist-info/INSTALLER
18
	@install -m 0644 License ${PYTHON_SITELIBDIR}/pnu_libpnu-${DISTVERSION}.dist-info
19
	@install -m 0644 PKG-INFO ${PYTHON_SITELIBDIR}/pnu_libpnu-${DISTVERSION}.dist-info/METADATA
20
	@install -m 0644 RECORD ${PYTHON_SITELIBDIR}/pnu_libpnu-${DISTVERSION}.dist-info
21
	@touch ${PYTHON_SITELIBDIR}/pnu_libpnu-${DISTVERSION}.dist-info/REQUESTED
22
	@install -m 0644 src/pnu_libpnu.egg-info/top_level.txt ${PYTHON_SITELIBDIR}/pnu_libpnu-${DISTVERSION}.dist-info
23
	@install -m 0644 WHEEL ${PYTHON_SITELIBDIR}/pnu_libpnu-${DISTVERSION}.dist-info
24
(-)b/devel/py-pnu-libpnu/files/RECORD (+12 lines)
Added Link Here
1
../../../share/man/man3/libpnu.3.gz,sha256=QpmOU5Q3tzyjVzGpoC45CBePKGwUgrR2LLq1onXCc1A,1608
2
libpnu/__init__.py,sha256=OIUvQK6yxVB8AiXXHt83ZFQSsZMxRVNxkf2BJMND5v0,60
3
libpnu/__pycache__/__init__.cpython-39.pyc,,
4
libpnu/__pycache__/main.cpython-39.pyc,,
5
libpnu/main.py,sha256=9Oc2IuWm_cA_IRk7OxWMhOiEk22LZdxQyHct3vjnic0,7147
6
pnu_libpnu-1.3.0.dist-info/INSTALLER,sha256=zuuue4knoyJ-UwPPXg8fezS7VCrXJQrAP7zeNuwvFQg,4
7
pnu_libpnu-1.3.0.dist-info/License,sha256=tAU1J_XOOJC2x6h49s8g_Pyqo4S2I1DCYVuQozYsx_o,1461
8
pnu_libpnu-1.3.0.dist-info/METADATA,sha256=7V6tf35XT3TZApUudyfwfmHKBJryLfyqzTqYQRPfKFI,5119
9
pnu_libpnu-1.3.0.dist-info/RECORD,,
10
pnu_libpnu-1.3.0.dist-info/REQUESTED,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
11
pnu_libpnu-1.3.0.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
12
pnu_libpnu-1.3.0.dist-info/top_level.txt,sha256=SsCpeEJ31nySlpZOEa5f_hHEC2J0Nlcd6FKdLvgl_BQ,7
(-)b/devel/py-pnu-libpnu/files/WHEEL (+5 lines)
Added Link Here
1
Wheel-Version: 1.0
2
Generator: bdist_wheel (0.43.0)
3
Root-Is-Purelib: true
4
Tag: py3-none-any
5
(-)b/devel/py-pnu-libpnu/pkg-descr (+3 lines)
Added Link Here
1
pnu-libpnu is a Python library containing common functions for all the
2
PNU project utilities. It has no known usage and usefulness beyond
3
this project.
(-)b/devel/py-pnu-libpnu/pkg-plist (-1 / +12 lines)
Added Link Here
0
- 
1
%%PYTHON_SITELIBDIR%%/libpnu/__init__.py
2
%%PYTHON_SITELIBDIR%%/libpnu/__pycache__/__init__.cpython-39.pyc
3
%%PYTHON_SITELIBDIR%%/libpnu/__pycache__/main.cpython-39.pyc
4
%%PYTHON_SITELIBDIR%%/libpnu/main.py
5
%%PYTHON_SITELIBDIR%%/pnu_libpnu-%%DISTVERSION%%.dist-info/INSTALLER
6
%%PYTHON_SITELIBDIR%%/pnu_libpnu-%%DISTVERSION%%.dist-info/License
7
%%PYTHON_SITELIBDIR%%/pnu_libpnu-%%DISTVERSION%%.dist-info/METADATA
8
%%PYTHON_SITELIBDIR%%/pnu_libpnu-%%DISTVERSION%%.dist-info/RECORD
9
%%PYTHON_SITELIBDIR%%/pnu_libpnu-%%DISTVERSION%%.dist-info/REQUESTED
10
%%PYTHON_SITELIBDIR%%/pnu_libpnu-%%DISTVERSION%%.dist-info/top_level.txt
11
%%PYTHON_SITELIBDIR%%/pnu_libpnu-%%DISTVERSION%%.dist-info/WHEEL
12
share/man/man3/libpnu.3.gz

Return to bug 277724