Skip to content

Commit

Permalink
databases/py-kyotocabinet: Convert to USE_PYTHON=pep517
Browse files Browse the repository at this point in the history
- Bump PORTREVISION for package change
  • Loading branch information
sunpoet committed Mar 23, 2024
1 parent b0e00dd commit 88316fb
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 1 deletion.
5 changes: 4 additions & 1 deletion databases/py-kyotocabinet/Makefile
@@ -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
Expand All @@ -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>
13 changes: 13 additions & 0 deletions databases/py-kyotocabinet/files/patch-setup.py
@@ -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'

0 comments on commit 88316fb

Please sign in to comment.