commit:     48687931d8e3dee597736acc9409fcd550cce43c
Author:     Thomas Scholz <thomas.scholz <AT> protonmail <DOT> com>
AuthorDate: Mon Feb 27 07:58:39 2023 +0000
Commit:     Thomas Scholz <thomas.scholz <AT> protonmail <DOT> com>
CommitDate: Mon Feb 27 07:58:39 2023 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=48687931

app-admin/oet: Added pkgd version 0.0.0.2

Added a manpage; it's scarce but functional
Learned how to create pkgd ebuilds

Signed-off-by: Thomas Scholz <thomas.scholz <AT> protonmail.com>

 app-admin/oet/Manifest                                |  1 +
 app-admin/oet/{oet-9999.ebuild => oet-0.0.0.2.ebuild} | 16 +++++++---------
 app-admin/oet/oet-9999.ebuild                         | 16 +++++++---------
 3 files changed, 15 insertions(+), 18 deletions(-)

diff --git a/app-admin/oet/Manifest b/app-admin/oet/Manifest
new file mode 100644
index 000000000..941470759
--- /dev/null
+++ b/app-admin/oet/Manifest
@@ -0,0 +1 @@
+DIST oet-0.0.0.2.tar.gz 18284 BLAKE2B 
94db54554b62a2cf598d7c970de9fe4540635f9a877025dea89c2b4580ae9a2dbe784fb27e8cf57a9a5998acad0229356c30167777a6ac56b8b8b41ccc5bc3e2
 SHA512 
82e4a0b26d988b7c3286495d8d5747225aaecc7516979fb70723d3351858750eb32c09663f0238efa638732ce5c21be92b503a15f85b6d6ad6771dab4bdf0836

diff --git a/app-admin/oet/oet-9999.ebuild b/app-admin/oet/oet-0.0.0.2.ebuild
similarity index 75%
copy from app-admin/oet/oet-9999.ebuild
copy to app-admin/oet/oet-0.0.0.2.ebuild
index 7e5b1ead0..4aed57b5d 100644
--- a/app-admin/oet/oet-9999.ebuild
+++ b/app-admin/oet/oet-0.0.0.2.ebuild
@@ -1,3 +1,6 @@
+# Copyright 2021-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
 EAPI=8
 
 DESCRIPTION="Update your system into binpkgs in an overlay sandbox"
@@ -5,22 +8,16 @@ HOMEPAGE="https://codeberg.org/bcsthsc/overlay-emerge-tool";
 if [[ "${PV}" == "9999" ]]; then
        inherit git-r3
        EGIT_REPO_URI="https://codeberg.org/bcsthsc/overlay-emerge-tool.git";
-       EGIT_BRANCH="0.0.0.1"
-       [[ "${PV}" == "9999" ]] && EGIT_BRANCH=0.0.0.1
+       EGIT_BRANCH="main"
        [[ "${EGIT_BRANCH}" == "" ]] && die "Please set a git branch"
 else
        
SRC_URI="https://codeberg.org/bcsthsc/overlay-emerge-tool/archive/oet-${PV}.tar.gz";
-       S="${WORKDIR}/oet-${PV/_rc/-rc.}"
-       KEYWORDS="~amd64"
+       S="${WORKDIR}/overlay-emerge-tool"
+       KEYWORDS="~amd64 ~x86"
 fi
 
 LICENSE="LGPL-2"
 SLOT="0"
-IUSE=""
-
-DEPEND=""
-RDEPEND="${DEPEND}"
-BDEPEND=""
 
 
 src_install() {
@@ -29,6 +26,7 @@ src_install() {
        insinto /usr/share/oet
        doins src/oet_auto_emerge_update.source
        doins src/oet_interactive.source
+       doman resources/oet.1
 }
 
 src_compile() {

diff --git a/app-admin/oet/oet-9999.ebuild b/app-admin/oet/oet-9999.ebuild
index 7e5b1ead0..4aed57b5d 100644
--- a/app-admin/oet/oet-9999.ebuild
+++ b/app-admin/oet/oet-9999.ebuild
@@ -1,3 +1,6 @@
+# Copyright 2021-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
 EAPI=8
 
 DESCRIPTION="Update your system into binpkgs in an overlay sandbox"
@@ -5,22 +8,16 @@ HOMEPAGE="https://codeberg.org/bcsthsc/overlay-emerge-tool";
 if [[ "${PV}" == "9999" ]]; then
        inherit git-r3
        EGIT_REPO_URI="https://codeberg.org/bcsthsc/overlay-emerge-tool.git";
-       EGIT_BRANCH="0.0.0.1"
-       [[ "${PV}" == "9999" ]] && EGIT_BRANCH=0.0.0.1
+       EGIT_BRANCH="main"
        [[ "${EGIT_BRANCH}" == "" ]] && die "Please set a git branch"
 else
        
SRC_URI="https://codeberg.org/bcsthsc/overlay-emerge-tool/archive/oet-${PV}.tar.gz";
-       S="${WORKDIR}/oet-${PV/_rc/-rc.}"
-       KEYWORDS="~amd64"
+       S="${WORKDIR}/overlay-emerge-tool"
+       KEYWORDS="~amd64 ~x86"
 fi
 
 LICENSE="LGPL-2"
 SLOT="0"
-IUSE=""
-
-DEPEND=""
-RDEPEND="${DEPEND}"
-BDEPEND=""
 
 
 src_install() {
@@ -29,6 +26,7 @@ src_install() {
        insinto /usr/share/oet
        doins src/oet_auto_emerge_update.source
        doins src/oet_interactive.source
+       doman resources/oet.1
 }
 
 src_compile() {

Reply via email to