devel/py-appdirs 1.4.4_2 MidnightBSD
Python module for determining platform-specific dirs
- System
- MidnightBSD
- Repository
- mports
- Maintainer
- [email protected]
- License
- mit
- Categories
- devel, python
Description
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)
In the other systems
| System | Port | Version |
|---|---|---|
| MidnightBSD | devel/py-appdirs | 1.4.4_2 |
| FreeBSD | devel/py-appdirs | 1.4.4_1 |
| OpenBSD | devel/py-appdirs | 1.4.4p6 |
| NetBSD | devel/py-appdirs | 1.4.4nb2 |
| DragonFly | devel/py-appdirs | 1.4.4_1 |
| HardenedBSD | devel/py-appdirs | 1.4.4_1 |
| GhostBSD | devel/py-appdirs | 1.4.4_1 |
Install
Binary package:
mport install ${PYTHON_PKGNAMEPREFIX}appdirs
From mports:
cd /usr/mports/devel/py-appdirs && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}appdirs>0:devel/py-appdirs
Dependencies
As this port's Makefile names them.
Build 2
${PYTHON_PKGNAMEPREFIX}setuptools>=0: devel/py-setuptools${PYTHON_PKGNAMEPREFIX}wheel>=0: devel/py-wheel
Build dependencies 2
Configuration
No options to configure.
- USES
- python
- Service scripts
- none
Files
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| appdirs-1.4.4.tar.gz | 13470 | 7d5d0167b2b1ba821647616af46a749d1c653740dd0d2415100fe26e27afdf41 |
Master sites 1
- PYPI