summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--devel/Makefile1
-rw-r--r--devel/py-pyxdg/Makefile19
-rw-r--r--devel/py-pyxdg/distinfo3
-rw-r--r--devel/py-pyxdg/pkg-descr9
4 files changed, 32 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile
index b7e988dbf33e..63389fa09505 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -5223,6 +5223,7 @@
SUBDIR += py-pyvisa
SUBDIR += py-pyvisa-py
SUBDIR += py-pyxb
+ SUBDIR += py-pyxdg
SUBDIR += py-pyyaml-include
SUBDIR += py-pyyaml_env_tag
SUBDIR += py-pyzipper
diff --git a/devel/py-pyxdg/Makefile b/devel/py-pyxdg/Makefile
new file mode 100644
index 000000000000..86c64811c6de
--- /dev/null
+++ b/devel/py-pyxdg/Makefile
@@ -0,0 +1,19 @@
+PORTNAME= pyxdg
+DISTVERSION= 0.28
+CATEGORIES= devel python
+MASTER_SITES= CHEESESHOP
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= yuri@FreeBSD.org
+COMMENT= PyXDG is implementations of freedesktop.org standards in python
+WWW= https://freedesktop.org/wiki/Software/pyxdg/
+
+LICENSE= GPLv2
+LICENSE_FILE= ${WRKSRC}/COPYING
+
+USES= python
+USE_PYTHON= distutils autoplist pytest # 2 tests fail, see https://gitlab.freedesktop.org/xdg/pyxdg/-/issues/26
+
+NO_ARCH= yes
+
+.include <bsd.port.mk>
diff --git a/devel/py-pyxdg/distinfo b/devel/py-pyxdg/distinfo
new file mode 100644
index 000000000000..9758f88e7637
--- /dev/null
+++ b/devel/py-pyxdg/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1665592074
+SHA256 (pyxdg-0.28.tar.gz) = 3267bb3074e934df202af2ee0868575484108581e6f3cb006af1da35395e88b4
+SIZE (pyxdg-0.28.tar.gz) = 77776
diff --git a/devel/py-pyxdg/pkg-descr b/devel/py-pyxdg/pkg-descr
new file mode 100644
index 000000000000..9cdefdeae005
--- /dev/null
+++ b/devel/py-pyxdg/pkg-descr
@@ -0,0 +1,9 @@
+PyXDG is a python library to access freedesktop.org standards.
+
+Currently supported are:
+* Base Directory Specification Version 0.6
+* Menu Specification Version 1.0
+* Desktop Entry Specification Version 1.0
+* Icon Theme Specification Version 0.8
+* Recent File Spec 0.2
+* Shared-MIME-Database Specification 0.13