diff --git a/devel/Makefile b/devel/Makefile index e389728f587b..696cc354eb0a 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -3611,6 +3611,7 @@ SUBDIR += py-anonfunc SUBDIR += py-anyjson SUBDIR += py-apipkg + SUBDIR += py-appdirs SUBDIR += py-application SUBDIR += py-archetypes.querywidget SUBDIR += py-archetypes.referencebrowserwidget diff --git a/devel/py-appdirs/Makefile b/devel/py-appdirs/Makefile new file mode 100644 index 000000000000..5d57ae21cbdd --- /dev/null +++ b/devel/py-appdirs/Makefile @@ -0,0 +1,23 @@ +# Created by: Thomas Zander +# $FreeBSD$ + +PORTNAME= appdirs +PORTVERSION= 1.4.0 +CATEGORIES= devel python +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= python@FreeBSD.org +COMMENT= Python module for determining platform-specific dirs + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE.txt + +USE_GITHUB= yes +GH_ACCOUNT= ActiveState +GH_COMMIT= 57f2bc4 +GH_TAGNAME= ${GH_COMMIT} + +USES= python +USE_PYTHON= distutils autoplist + +.include diff --git a/devel/py-appdirs/distinfo b/devel/py-appdirs/distinfo new file mode 100644 index 000000000000..5163605ad5f7 --- /dev/null +++ b/devel/py-appdirs/distinfo @@ -0,0 +1,2 @@ +SHA256 (appdirs-1.4.0.tar.gz) = e2c72891487a6cf82f918735457cb18e700eb9b5129aa7c44284a4d956d585ce +SIZE (appdirs-1.4.0.tar.gz) = 12109 diff --git a/devel/py-appdirs/pkg-descr b/devel/py-appdirs/pkg-descr new file mode 100644 index 000000000000..5bb5e7a55943 --- /dev/null +++ b/devel/py-appdirs/pkg-descr @@ -0,0 +1,19 @@ +appdirs is small Python module for determining appropriate platform-specific +dirs, e.g. a "user data dir". Those are typically platform-specific, for +instance, if running on Mac OS X, you should use: + +~/Library/Application Support/ + +On Linux (and other Unices) the dir, according to the XDG spec, is: + +~/.local/share/ + +appdirs will help the application to choose an appropriate: +- user data dir (user_data_dir) +- user config dir (user_config_dir) +- user cache dir (user_cache_dir) +- site data dir (site_data_dir) +- site config dir (site_config_dir) +- user log dir (user_log_dir) + +WWW: http://github.com/ActiveState/appdirs