summaryrefslogtreecommitdiff
path: root/dev-python/libversion
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
parentc6ef284515a5b1669dfc86302f8179bc48af55ae (diff)
downloadbaldeagleos-repo-bcb4e496e52fa74a22eacd2b68fe36c8863029c3.tar.gz
baldeagleos-repo-bcb4e496e52fa74a22eacd2b68fe36c8863029c3.tar.xz
baldeagleos-repo-bcb4e496e52fa74a22eacd2b68fe36c8863029c3.zip
Adding metadata
Diffstat (limited to 'dev-python/libversion')
-rw-r--r--dev-python/libversion/Manifest1
-rw-r--r--dev-python/libversion/libversion-1.2.3.ebuild18
-rw-r--r--dev-python/libversion/libversion-1.2.4-r1.ebuild (renamed from dev-python/libversion/libversion-1.2.4.ebuild)24
3 files changed, 21 insertions, 22 deletions
diff --git a/dev-python/libversion/Manifest b/dev-python/libversion/Manifest
index 329bc09c3643..ede9fcda2fe4 100644
--- a/dev-python/libversion/Manifest
+++ b/dev-python/libversion/Manifest
@@ -1,2 +1 @@
-DIST libversion-1.2.3.tar.gz 7777 BLAKE2B 450851b7438ab673bab82845ce829f00fe28a787021138392dd60f649a227a9c827cd842d17e644037709e696dc0b9edd32b701264f7231e4d3f7fd21f09476d SHA512 921f736866af54b06188843b3619ee1778d4fd48d5d83e3059d36c55372cbe2febdf63c8258710a8c567ffd7b5adb241123641193a6d6f7156be6c67ab829970
DIST libversion-1.2.4.tar.gz 8389 BLAKE2B 998b1a1d1e1666a239f21a9bf84c0ec89b80fa7cb4ae0e7fb773131e561d4598f01e232451201ae06e8aeb0efad89c2ce6661e3f7f14212d564924818ca90d7f SHA512 ab78e65182c6475a174eb31836dcc83c915cb584ebb8dc82a6690d3ee44d77bedae28809648b5c38df640f7fe815a2aadc7954c193e9e0712dc35cbc1d7cd8b2
diff --git a/dev-python/libversion/libversion-1.2.3.ebuild b/dev-python/libversion/libversion-1.2.3.ebuild
deleted file mode 100644
index bdd52ca8e4fc..000000000000
--- a/dev-python/libversion/libversion-1.2.3.ebuild
+++ /dev/null
@@ -1,18 +0,0 @@
-# Copyright 2021 Liguros Authors
-# Distributed under the terms of the GNU General Public License v2
-EAPI=7
-
-PYTHON_COMPAT=( python3_{6,7,8,9,10} )
-
-inherit distutils-r1
-
-DESCRIPTION="Python bindings for libversion"
-HOMEPAGE="https://github.com/repology/py-libversion https://pypi.org/project/libversion/"
-#SRC_URI="https://files.pythonhosted.org/packages/72/51/4bf0274f1a0646da112ac197a33ffd10f400349eb1dad570c79245c5b05b/${P}.tar.gz"
-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"
diff --git a/dev-python/libversion/libversion-1.2.4.ebuild b/dev-python/libversion/libversion-1.2.4-r1.ebuild
index 036198644323..dba2f9600f30 100644
--- a/dev-python/libversion/libversion-1.2.4.ebuild
+++ b/dev-python/libversion/libversion-1.2.4-r1.ebuild
@@ -1,18 +1,36 @@
-# Copyright 2021 Liguros Authors
+# 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://files.pythonhosted.org/packages/72/51/4bf0274f1a0646da112ac197a33ffd10f400349eb1dad570c79245c5b05b/${P}.tar.gz"
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"
+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
+}