Allow building with USE_SYSTRACE.

Fix keyring/cli.py shebang while here.
This commit is contained in:
ajacoutot 2015-03-16 22:49:46 +00:00
parent 8e6eec1dbd
commit ad641cf0fd
2 changed files with 26 additions and 1 deletions

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.2 2015/03/16 11:09:37 ajacoutot Exp $
# $OpenBSD: Makefile,v 1.3 2015/03/16 22:49:46 ajacoutot Exp $
COMMENT= store and access your passwords safely
@ -6,6 +6,7 @@ MODPY_EGG_VERSION= 5.3
DISTNAME= keyring-${MODPY_EGG_VERSION}
PKGNAME= py-${DISTNAME}
EXTRACT_SUFX= .zip
REVISION= 0
CATEGORIES= security
@ -19,6 +20,7 @@ MASTER_SITES= ${MASTER_SITE_PYPI:=k/keyring/}
MODULES= lang/python
MODPY_SETUPTOOLS= Yes
MODPY_ADJ_FILES= keyring/cli.py
RUN_DEPENDS= devel/py-gobject3${MODPY_FLAVOR} \
security/py-secretstorage${MODPY_FLAVOR}

View File

@ -0,0 +1,23 @@
$OpenBSD: patch-setup_py,v 1.1 2015/03/16 22:49:46 ajacoutot Exp $
Allow building with USE_SYSTRACE.
--- setup.py.orig Mon Mar 16 23:46:16 2015
+++ setup.py Mon Mar 16 23:46:19 2015
@@ -69,7 +69,7 @@ pytest_runner = (
setup_params = dict(
name='keyring',
- use_vcs_version=True,
+ version = "%{version}",
description="Store and access your passwords safely.",
url="http://bitbucket.org/kang/python-keyring-lib",
keywords="keyring Keychain GnomeKeyring Kwallet password storage",
@@ -93,7 +93,6 @@ setup_params = dict(
extras_require={'test': test_requirements},
tests_require=test_requirements,
setup_requires=[
- 'hgtools',
] + pytest_runner,
entry_points={
'console_scripts': [