git: f2fb8da170aa - main - devel/py-pyxdg: New port: PyXDG is implementations of freedesktop.org standards in python

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Wed, 12 Oct 2022 16:40:54 UTC
The branch main has been updated by yuri:

URL: https://cgit.FreeBSD.org/ports/commit/?id=f2fb8da170aaf2f7957736acf337bf4a8a96ed20

commit f2fb8da170aaf2f7957736acf337bf4a8a96ed20
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2022-10-12 14:34:52 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2022-10-12 16:40:52 +0000

    devel/py-pyxdg: New port: PyXDG is implementations of freedesktop.org standards in python
---
 devel/Makefile           |  1 +
 devel/py-pyxdg/Makefile  | 19 +++++++++++++++++++
 devel/py-pyxdg/distinfo  |  3 +++
 devel/py-pyxdg/pkg-descr |  9 +++++++++
 4 files changed, 32 insertions(+)

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