summaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
authoradam <adam@pkgsrc.org>2021-08-29 13:24:32 +0000
committeradam <adam@pkgsrc.org>2021-08-29 13:24:32 +0000
commit0db9d4120f93d0692b9eaa214e50460f17babbb5 (patch)
tree6fb23c2e8d387cad7a786821c59b4ea8a3689925 /misc
parent9b2ae5b310473ba623efda543600f89074359e1c (diff)
downloadpkgsrc-0db9d4120f93d0692b9eaa214e50460f17babbb5.tar.gz
py-platformdirs: added version 2.2.0
When writing desktop application, finding the right location to store user data and configuration varies per platform. Even for single-platform apps, there may by plenty of nuances in figuring out the right location. This kind of thing is what the platformdirs module is for.
Diffstat (limited to 'misc')
-rw-r--r--misc/Makefile3
-rw-r--r--misc/py-platformdirs/DESCR4
-rw-r--r--misc/py-platformdirs/Makefile18
-rw-r--r--misc/py-platformdirs/PLIST32
-rw-r--r--misc/py-platformdirs/distinfo6
5 files changed, 62 insertions, 1 deletions
diff --git a/misc/Makefile b/misc/Makefile
index 8f1f74a5d90..767dfe0d980 100644
--- a/misc/Makefile
+++ b/misc/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.552 2021/06/03 14:54:17 taca Exp $
+# $NetBSD: Makefile,v 1.553 2021/08/29 13:24:32 adam Exp $
#
COMMENT= Miscellaneous utilities
@@ -249,6 +249,7 @@ SUBDIR+= py-ansi
SUBDIR+= py-asciinema
SUBDIR+= py-carddav
SUBDIR+= py-immutables
+SUBDIR+= py-platformdirs
SUBDIR+= py-sniffio
SUBDIR+= py-stdnum
SUBDIR+= py-tqdm
diff --git a/misc/py-platformdirs/DESCR b/misc/py-platformdirs/DESCR
new file mode 100644
index 00000000000..929ce7f986e
--- /dev/null
+++ b/misc/py-platformdirs/DESCR
@@ -0,0 +1,4 @@
+When writing desktop application, finding the right location to store user data
+and configuration varies per platform. Even for single-platform apps, there
+may by plenty of nuances in figuring out the right location. This kind of thing
+is what the platformdirs module is for.
diff --git a/misc/py-platformdirs/Makefile b/misc/py-platformdirs/Makefile
new file mode 100644
index 00000000000..01972ee889c
--- /dev/null
+++ b/misc/py-platformdirs/Makefile
@@ -0,0 +1,18 @@
+# $NetBSD: Makefile,v 1.1 2021/08/29 13:24:32 adam Exp $
+
+DISTNAME= platformdirs-2.2.0
+PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
+CATEGORIES= misc python
+MASTER_SITES= ${MASTER_SITE_PYPI:=p/platformdirs/}
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= https://github.com/platformdirs/platformdirs
+COMMENT= Python module for determining appropriate platform-specific dirs
+LICENSE= mit
+
+USE_LANGUAGES= # none
+
+PYTHON_VERSIONS_INCOMPATIBLE= 27
+
+.include "../../lang/python/egg.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/misc/py-platformdirs/PLIST b/misc/py-platformdirs/PLIST
new file mode 100644
index 00000000000..3cac7140ee2
--- /dev/null
+++ b/misc/py-platformdirs/PLIST
@@ -0,0 +1,32 @@
+@comment $NetBSD: PLIST,v 1.1 2021/08/29 13:24:32 adam Exp $
+${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
+${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
+${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
+${PYSITELIB}/${EGG_INFODIR}/requires.txt
+${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+${PYSITELIB}/${EGG_INFODIR}/zip-safe
+${PYSITELIB}/platformdirs/__init__.py
+${PYSITELIB}/platformdirs/__init__.pyc
+${PYSITELIB}/platformdirs/__init__.pyo
+${PYSITELIB}/platformdirs/__main__.py
+${PYSITELIB}/platformdirs/__main__.pyc
+${PYSITELIB}/platformdirs/__main__.pyo
+${PYSITELIB}/platformdirs/android.py
+${PYSITELIB}/platformdirs/android.pyc
+${PYSITELIB}/platformdirs/android.pyo
+${PYSITELIB}/platformdirs/api.py
+${PYSITELIB}/platformdirs/api.pyc
+${PYSITELIB}/platformdirs/api.pyo
+${PYSITELIB}/platformdirs/macos.py
+${PYSITELIB}/platformdirs/macos.pyc
+${PYSITELIB}/platformdirs/macos.pyo
+${PYSITELIB}/platformdirs/py.typed
+${PYSITELIB}/platformdirs/unix.py
+${PYSITELIB}/platformdirs/unix.pyc
+${PYSITELIB}/platformdirs/unix.pyo
+${PYSITELIB}/platformdirs/version.py
+${PYSITELIB}/platformdirs/version.pyc
+${PYSITELIB}/platformdirs/version.pyo
+${PYSITELIB}/platformdirs/windows.py
+${PYSITELIB}/platformdirs/windows.pyc
+${PYSITELIB}/platformdirs/windows.pyo
diff --git a/misc/py-platformdirs/distinfo b/misc/py-platformdirs/distinfo
new file mode 100644
index 00000000000..00707d2cfe5
--- /dev/null
+++ b/misc/py-platformdirs/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2021/08/29 13:24:32 adam Exp $
+
+SHA1 (platformdirs-2.2.0.tar.gz) = 2c9b09649b49664cb302d3d40bb647271318a4dc
+RMD160 (platformdirs-2.2.0.tar.gz) = 7950892ad04906a41fadd8dd6a95ca794c4f1e35
+SHA512 (platformdirs-2.2.0.tar.gz) = 9822b7602aad04a0f5e8540a470c4e935ac6cd975b4f12c919f0ccba8395d7516764c764dea043e47e6f4e79d21afe049aa7f1ea57a9c9f67c83ed4decb82a67
+Size (platformdirs-2.2.0.tar.gz) = 21691 bytes