mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 01:39:16 -04:00
Initial import of devel/py-appdirs
This commit is contained in:
parent
92ade43175
commit
11ce632b31
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=372320
4 changed files with 45 additions and 0 deletions
|
@ -3611,6 +3611,7 @@
|
||||||
SUBDIR += py-anonfunc
|
SUBDIR += py-anonfunc
|
||||||
SUBDIR += py-anyjson
|
SUBDIR += py-anyjson
|
||||||
SUBDIR += py-apipkg
|
SUBDIR += py-apipkg
|
||||||
|
SUBDIR += py-appdirs
|
||||||
SUBDIR += py-application
|
SUBDIR += py-application
|
||||||
SUBDIR += py-archetypes.querywidget
|
SUBDIR += py-archetypes.querywidget
|
||||||
SUBDIR += py-archetypes.referencebrowserwidget
|
SUBDIR += py-archetypes.referencebrowserwidget
|
||||||
|
|
23
devel/py-appdirs/Makefile
Normal file
23
devel/py-appdirs/Makefile
Normal file
|
@ -0,0 +1,23 @@
|
||||||
|
# Created by: Thomas Zander <riggs@FreeBSD.org>
|
||||||
|
# $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 <bsd.port.mk>
|
2
devel/py-appdirs/distinfo
Normal file
2
devel/py-appdirs/distinfo
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
SHA256 (appdirs-1.4.0.tar.gz) = e2c72891487a6cf82f918735457cb18e700eb9b5129aa7c44284a4d956d585ce
|
||||||
|
SIZE (appdirs-1.4.0.tar.gz) = 12109
|
19
devel/py-appdirs/pkg-descr
Normal file
19
devel/py-appdirs/pkg-descr
Normal file
|
@ -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/<AppName>
|
||||||
|
|
||||||
|
On Linux (and other Unices) the dir, according to the XDG spec, is:
|
||||||
|
|
||||||
|
~/.local/share/<AppName>
|
||||||
|
|
||||||
|
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
|
Loading…
Add table
Reference in a new issue