summaryrefslogtreecommitdiff
path: root/dev-python/libversion/libversion-1.2.4-r1.ebuild
diff options
context:
space:
mode:
authorLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2022-02-14 01:39:29 +0000
committerLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2022-02-14 01:39:29 +0000
commitbcb4e496e52fa74a22eacd2b68fe36c8863029c3 (patch)
treed87564045f9bbbeab835bd325d938d2d1c9e6862 /dev-python/libversion/libversion-1.2.4-r1.ebuild
parentc6ef284515a5b1669dfc86302f8179bc48af55ae (diff)
downloadbaldeagleos-repo-bcb4e496e52fa74a22eacd2b68fe36c8863029c3.tar.gz
baldeagleos-repo-bcb4e496e52fa74a22eacd2b68fe36c8863029c3.tar.xz
baldeagleos-repo-bcb4e496e52fa74a22eacd2b68fe36c8863029c3.zip
Adding metadata
Diffstat (limited to 'dev-python/libversion/libversion-1.2.4-r1.ebuild')
-rw-r--r--dev-python/libversion/libversion-1.2.4-r1.ebuild36
1 files changed, 36 insertions, 0 deletions
diff --git a/dev-python/libversion/libversion-1.2.4-r1.ebuild b/dev-python/libversion/libversion-1.2.4-r1.ebuild
new file mode 100644
index 000000000000..dba2f9600f30
--- /dev/null
+++ b/dev-python/libversion/libversion-1.2.4-r1.ebuild
@@ -0,0 +1,36 @@
+# Copyright 2021-2022 Liguros Authors
+# Distributed under the terms of the GNU General Public License v2
+EAPI=8
+
+PYTHON_COMPAT=( python3_{6,7,8,9,10} )
+DISTUTILS_USE_SETUPTOOLS=bdepend
+
+inherit distutils-r1
+
+distutils_enable_tests unittest
+
+DESCRIPTION="Python bindings for libversion"
+HOMEPAGE="https://github.com/repology/py-libversion https://pypi.org/project/libversion/"
+SRC_URI="https://github.com/repology/py-${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+S="${WORKDIR}/py-${P}"
+SLOT="0"
+LICENSE="MIT"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux ~amd64-fbsd"
+
+DEPEND="
+ >=dev-libs/libversion-2.7.0
+"
+RDEPEND="
+ ${DEPEND}
+"
+BDEPEND="
+ virtual/pkgconfig
+"
+
+python_compile(){
+ PKG_CONFIG_PATH="${EPREFIX}/usr/lib/pkgconfig" distutils-r1_python_compile
+}
+
+python_install(){
+ PKG_CONFIG_PATH="${EPREFIX}/usr/lib/pkgconfig" distutils-r1_python_install
+}