net-mgmt/py-ipy: Convert to USE_PYTHON=pep517

- Bump PORTREVISION for package change
This commit is contained in:
Po-Chuan Hsieh 2024-05-13 22:06:21 +08:00
parent b7c396bdc6
commit c5c9146b35
No known key found for this signature in database
GPG key ID: 9A4BD10F002DD04B
2 changed files with 18 additions and 3 deletions

View file

@ -1,9 +1,10 @@
PORTNAME= ipy PORTNAME= ipy
PORTVERSION= 1.01 PORTVERSION= 1.1
PORTREVISION= 1
CATEGORIES= net-mgmt python CATEGORIES= net-mgmt python
MASTER_SITES= PYPI MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTNAME= IPy-${PORTVERSION} DISTNAME= IPy-1.01
MAINTAINER= sunpoet@FreeBSD.org MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Python module for handling IPv4 and IPv6 Addresses and Networks COMMENT= Python module for handling IPv4 and IPv6 Addresses and Networks
@ -12,8 +13,11 @@ WWW= https://github.com/autocracy/python-ipy
LICENSE= BSD3CLAUSE LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/COPYING LICENSE_FILE= ${WRKSRC}/COPYING
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
USES= python USES= python
USE_PYTHON= autoplist concurrent distutils USE_PYTHON= autoplist concurrent pep517
NO_ARCH= yes NO_ARCH= yes

View file

@ -0,0 +1,11 @@
--- setup.py.orig 2020-12-01 20:32:26 UTC
+++ setup.py
@@ -56,7 +56,7 @@ setup(
URL = "https://github.com/autocracy/python-ipy"
setup(
- name="IPy",
+ name="ipy",
version=VERSION,
description="Class and tools for handling of IPv4 and IPv6 addresses and networks",
long_description=LONG_DESCRIPTION,