aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAzael Reyes <azael.devel@gmail.com>2020-08-11 22:35:11 -0700
committerAzael Reyes <azael.devel@gmail.com>2020-08-11 22:35:11 -0700
commitdcca8ede210de9e60953e494fe721f5fe872d56b (patch)
tree7ff9b6b1850db2d56d2bf6bd1816d0a730a58a38 /app-portage
parentapp-portage/version: adding package version (diff)
downloadguru-dcca8ede210de9e60953e494fe721f5fe872d56b.tar.gz
guru-dcca8ede210de9e60953e494fe721f5fe872d56b.tar.bz2
guru-dcca8ede210de9e60953e494fe721f5fe872d56b.zip
app-portage/version: Refactory code.
Signed-off-by: Azael Reyes <azael.devel@gmail.com> Package-Manager: Portage-2.3.103, Repoman-2.3.23 Signed-off-by: Azael Reyes <azael.devel@gmail.com>
Diffstat (limited to 'app-portage')
-rw-r--r--app-portage/version/Manifest1
-rw-r--r--app-portage/version/version-0.9.0_alpha.ebuild32
2 files changed, 33 insertions, 0 deletions
diff --git a/app-portage/version/Manifest b/app-portage/version/Manifest
index e31773631..e2c0fda1a 100644
--- a/app-portage/version/Manifest
+++ b/app-portage/version/Manifest
@@ -1,2 +1,3 @@
DIST 0.6.1.tar.gz 24986 BLAKE2B a78b7b1a5a2aec26afba6916483a40ac17c2aafae45511d3ba35bf28ec8466e1b696f235e1d3d54c83bffa5e9f974c7f2cd8f188e637d8b315e876d91741fae2 SHA512 ff68c7cfec5c59a1cfb8a600a1a439e7bdacba464c27e114f6fc0879caaf66cf04447e8dfff5c4afc02808fd19677f979520121b00c2d1f0a4995c5adade728d
DIST 0.6.2-alpha.tar.gz 35658 BLAKE2B 89be24ecf24ac711045711f65303eb2deae9cccaf8d1fbc28c8f07e4d1fff3234e5ffdb0686de05fa29becca9d4eba2875307a4842f0f1aa66a8910d74f984cc SHA512 1fbb9295209e58babe1039ded6295024db040b4c5775f405be4af5e49035d9d968f322d919b055567340998828d04bafab7a140d98807d4a0d8eeedda7ed2dba
+DIST 0.9.0-alpha.tar.gz 41858 BLAKE2B 801f5c820484fb54cb4c030f20d2c287fd7054ac363065fe534b3d1e300a1078f49ca3770b3bec966aa161e3b4005934f4f4ed8ba8eecaedd17930e00561fd85 SHA512 bcba979bbf4016582d74c7fcc5882ea6e0e20a8884a398e4e87697fd3b0b44829f9b2e513aaa6f2f313cc0f319a48810795c640128b0f934310352d68803ca90
diff --git a/app-portage/version/version-0.9.0_alpha.ebuild b/app-portage/version/version-0.9.0_alpha.ebuild
new file mode 100644
index 000000000..9fa6ea6b8
--- /dev/null
+++ b/app-portage/version/version-0.9.0_alpha.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit autotools
+
+MYPV="${PV/_alpha/-alpha}"
+
+DESCRIPTION="A command line funtion for package version."
+HOMEPAGE="https://github.com/azaeldevel/octetos-version"
+SRC_URI="https://github.com/azaeldevel/octetos-${PN}/archive/${MYPV}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64"
+
+IUSE=""
+
+DEPEND="dev-libs/octetos-core"
+RDEPEND="${DEPEND}"
+BDEPEND=""
+
+S="${WORKDIR}/octetos-${PN}-${MYPV}"
+
+src_prepare() {
+ default
+ eautoreconf -fi
+}
+src_configure() {
+ econf --with-portage
+}