summaryrefslogtreecommitdiff
path: root/dev-python/xkbcommon
diff options
context:
space:
mode:
authorLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2023-01-13 00:47:41 +0000
committerLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2023-01-13 00:47:41 +0000
commit73a62ef9cf65c70586a0821e9868c3289f9936ca (patch)
treed273960c89c524a52ba258f5eebe9574d11f5873 /dev-python/xkbcommon
parent67d427d5291401c40761abbe97b9ac4ff807bd52 (diff)
downloadbaldeagleos-repo-73a62ef9cf65c70586a0821e9868c3289f9936ca.tar.gz
baldeagleos-repo-73a62ef9cf65c70586a0821e9868c3289f9936ca.tar.xz
baldeagleos-repo-73a62ef9cf65c70586a0821e9868c3289f9936ca.zip
Adding metadata
Diffstat (limited to 'dev-python/xkbcommon')
-rw-r--r--dev-python/xkbcommon/Manifest1
-rw-r--r--dev-python/xkbcommon/metadata.xml9
-rw-r--r--dev-python/xkbcommon/xkbcommon-0.8.ebuild39
3 files changed, 49 insertions, 0 deletions
diff --git a/dev-python/xkbcommon/Manifest b/dev-python/xkbcommon/Manifest
new file mode 100644
index 000000000000..95f920325d37
--- /dev/null
+++ b/dev-python/xkbcommon/Manifest
@@ -0,0 +1 @@
+DIST xkbcommon-0.8.gh.tar.gz 26951 BLAKE2B 0d2a649e3fee8baa9345ddca97dc7c77b5d9e10d7ca90cbb29bcc3531f4bba3deee39e610e147054e956310506fb79ebb43c85955b787e55046d67c12b851026 SHA512 ae2640ef89e7ace0468e970762c7be4d3f608701f1abea10174f274c622db28a6e6323cdc5bbbbaaa1065d4c4ddf9f67b75d4c34bb2e9a0bb6260778b15a330a
diff --git a/dev-python/xkbcommon/metadata.xml b/dev-python/xkbcommon/metadata.xml
new file mode 100644
index 000000000000..7ad11570cc7d
--- /dev/null
+++ b/dev-python/xkbcommon/metadata.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>python@gentoo.org</email>
+ </maintainer>
+
+ <origin>gentoo-staging</origin>
+</pkgmetadata> \ No newline at end of file
diff --git a/dev-python/xkbcommon/xkbcommon-0.8.ebuild b/dev-python/xkbcommon/xkbcommon-0.8.ebuild
new file mode 100644
index 000000000000..159ea9c3c5a5
--- /dev/null
+++ b/dev-python/xkbcommon/xkbcommon-0.8.ebuild
@@ -0,0 +1,39 @@
+# Copyright 2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{7,8,9,10,11} pypy3 )
+inherit distutils-r1
+
+DESCRIPTION="Python bindings for libxkbcommon using cffi"
+HOMEPAGE="
+ https://github.com/sde1000/python-xkbcommon
+ https://pypi.org/project/xkbcommon/
+"
+SRC_URI="
+ https://github.com/sde1000/python-xkbcommon/archive/refs/tags/v${PV}.tar.gz
+ -> ${P}.gh.tar.gz
+"
+S="${WORKDIR}"/python-${P}
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~riscv"
+
+# x11-libs/libxkbcommon dep per README
+RDEPEND="
+ >=x11-libs/libxkbcommon-${PV}
+ virtual/python-cffi[${PYTHON_USEDEP}]
+"
+DEPEND="${RDEPEND}"
+
+distutils_enable_tests pytest
+
+python_test() {
+ # No die deliberately as sometimes it doesn't exist
+ rm -r xkbcommon
+
+ epytest
+}