databases/py-kyotocabinet: Convert to USE_PYTHON=pep517

- Bump PORTREVISION for package change
This commit is contained in:
Po-Chuan Hsieh 2024-03-23 22:20:40 +08:00
parent b0e00dd632
commit 88316fb64f
No known key found for this signature in database
GPG Key ID: 9A4BD10F002DD04B
2 changed files with 17 additions and 1 deletions

View File

@ -1,6 +1,7 @@
PORTNAME= kyotocabinet
PORTVERSION= 1.23
DISTVERSIONPREFIX= python-
PORTREVISION= 1
CATEGORIES= databases python
MASTER_SITES= https://dbmx.net/kyotocabinet/pythonpkg/ \
LOCAL/sunpoet
@ -13,9 +14,11 @@ WWW= https://dbmx.net/kyotocabinet/
LICENSE= GPLv3
LICENSE_FILE= ${WRKSRC}/COPYING
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
LIB_DEPENDS= libkyotocabinet.so:databases/kyotocabinet
USES= python
USE_PYTHON= autoplist concurrent distutils
USE_PYTHON= autoplist concurrent pep517
.include <bsd.port.mk>

View File

@ -0,0 +1,13 @@
--- setup.py.orig 2010-12-16 23:41:42 UTC
+++ setup.py
@@ -1,8 +1,8 @@ from subprocess import *
from distutils.core import *
from subprocess import *
-package_name = 'Kyoto Cabinet'
-package_version = '1.5'
+package_name = 'kyotocabinet'
+package_version = '1.23'
package_description = 'a straightforward implementation of DBM'
package_author = 'FAL Labs'
package_author_email = 'info@fallabs.com'