mirror of
https://git.FreeBSD.org/ports.git
synced 2025-02-07 11:49:40 +00:00
devel/py-homebase: New port: Platform independent access to user data folders
This commit is contained in:
parent
b4c4494405
commit
a715017608
@ -4597,6 +4597,7 @@
|
||||
SUBDIR += py-hgtools
|
||||
SUBDIR += py-hidraw
|
||||
SUBDIR += py-holidays
|
||||
SUBDIR += py-homebase
|
||||
SUBDIR += py-http-prompt
|
||||
SUBDIR += py-humanize
|
||||
SUBDIR += py-hvac
|
||||
|
22
devel/py-homebase/Makefile
Normal file
22
devel/py-homebase/Makefile
Normal file
@ -0,0 +1,22 @@
|
||||
PORTNAME= homebase
|
||||
DISTVERSION= 1.0.1
|
||||
CATEGORIES= devel python
|
||||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
||||
|
||||
MAINTAINER= yuri@FreeBSD.org
|
||||
COMMENT= Platform independent access to user data folders
|
||||
|
||||
LICENSE= APACHE20
|
||||
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
|
||||
|
||||
USES= python:3.7+
|
||||
USE_PYTHON= distutils cython autoplist unittest # many tests fail, see https://github.com/dwavesystems/homebase/issues/35
|
||||
|
||||
USE_GITHUB= yes
|
||||
GH_ACCOUNT= dwavesystems
|
||||
|
||||
TEST_ENV= ${MAKE_ENV} PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}
|
||||
|
||||
NO_ARCH= yes
|
||||
|
||||
.include <bsd.port.mk>
|
3
devel/py-homebase/distinfo
Normal file
3
devel/py-homebase/distinfo
Normal file
@ -0,0 +1,3 @@
|
||||
TIMESTAMP = 1660495132
|
||||
SHA256 (dwavesystems-homebase-1.0.1_GH0.tar.gz) = 48f5ad503e85f5d9a815aeb96a57eadc13230a646bd99418ab06879e2a91261e
|
||||
SIZE (dwavesystems-homebase-1.0.1_GH0.tar.gz) = 18185
|
11
devel/py-homebase/files/patch-test_test__homebase.py
Normal file
11
devel/py-homebase/files/patch-test_test__homebase.py
Normal file
@ -0,0 +1,11 @@
|
||||
--- test/test_homebase.py.orig 2022-08-14 16:40:47 UTC
|
||||
+++ test/test_homebase.py
|
||||
@@ -667,7 +667,7 @@ class TestHomebaseVirtualEnv(TestHomebase):
|
||||
sys.prefix = sys.base_prefix
|
||||
|
||||
|
||||
-@unittest.skipUnless(sys.platform.startswith('linux'), 'TestHomebaseLinuxXDG: Not Linux')
|
||||
+@unittest.skipUnless(sys.platform.startswith('linux') or sys.platform.startswith('freebsd'), 'TestHomebaseLinuxXDG: Not Linux')
|
||||
@unittest.skipIf('travis' in os.path.expanduser('~'), 'Skipping travis virtualenv tests for now.')
|
||||
class TestHomebaseLinuxXDG(TestHomebase):
|
||||
|
4
devel/py-homebase/pkg-descr
Normal file
4
devel/py-homebase/pkg-descr
Normal file
@ -0,0 +1,4 @@
|
||||
homebase provides a platform independent API for querying paths in which
|
||||
applications can write caches, data, configs, and other information.
|
||||
|
||||
WWW: https://github.com/dwavesystems/homebase
|
Loading…
x
Reference in New Issue
Block a user