View | Details | Raw Unified | Return to bug 279985
Collapse All | Expand All

(-)news/py-nntplib/Makefile (+25 lines)
Added Link Here
1
PORTNAME=	nntplib
2
PORTVERSION=	0.1.3
3
CATEGORIES=	news python
4
MASTER_SITES=	PYPI
5
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
6
DISTNAME=	${PORTNAME}-${PORTVERSION}
7
8
MAINTAINER=	arcade@b1t.name
9
COMMENT=	nntplib library from Python 3 standard library as an independent module
10
WWW=		https://pypi.org/project/nntplib/
11
12
LICENSE=	BSD3CLAUSE
13
LICENSE_FILE=	${WRKSRC}/LICENSE
14
15
USES=		python:3.11+
16
17
PLIST_FILES=	${PYTHON_SITELIBDIR}/nntplib/__init__.py
18
19
do-build:
20
21
do-install:
22
	${MKDIR} ${STAGEDIR}${PYTHON_SITELIBDIR}/nntplib
23
	${INSTALL} ${WRKDIR}/${DISTNAME}/nntplib.py ${STAGEDIR}${PYTHON_SITELIBDIR}/nntplib/__init__.py
24
25
.include <bsd.port.mk>
(-)news/py-nntplib/distinfo (+3 lines)
Added Link Here
1
TIMESTAMP = 1719317929
2
SHA256 (nntplib-0.1.3.tar.gz) = 99657dbcc4ff7ea37120a36d9c08b8f94253b201664c7f8c15d843ee2e4eab4d
3
SIZE (nntplib-0.1.3.tar.gz) = 41646
(-)news/py-nntplib/pkg-descr (+7 lines)
Added Link Here
1
Because nntplib is still a valid library in all relevant versions of the
2
standard library up to and including Python 3.12, so when asking for it, the
3
care should be made to avoid the conflict. For example, use this line in your
4
pyproject.toml project.dependencies section:
5
6
    nntplib; python_version>="3.12"
7

Return to bug 279985