From 7d1e004a2cb02bc91b569f1a72d4d78e10b70096 Mon Sep 17 00:00:00 2001 From: Fredrik Eriksson Date: Sun, 4 Jul 2021 16:37:38 +0200 Subject: [PATCH] add ebuild for pwgen --- sys-apps/pwgen/Manifest | 3 +++ sys-apps/pwgen/pwgen-1.0.ebuild | 29 +++++++++++++++++++++++++++++ sys-apps/pwgen/pwgen-9999.ebuild | 29 +++++++++++++++++++++++++++++ 3 files changed, 61 insertions(+) create mode 100644 sys-apps/pwgen/Manifest create mode 100644 sys-apps/pwgen/pwgen-1.0.ebuild create mode 100644 sys-apps/pwgen/pwgen-9999.ebuild diff --git a/sys-apps/pwgen/Manifest b/sys-apps/pwgen/Manifest new file mode 100644 index 0000000..fbbcaa3 --- /dev/null +++ b/sys-apps/pwgen/Manifest @@ -0,0 +1,3 @@ +DIST pwgen-1.0.tar.gz 6392 BLAKE2B 104969c8da4eaeede7889fae4d1364b7fba660866cfecaf1342db44cef36da6b797e2711a372b2e6a807494288941c6d02c3063a168f399b721d32326643a2b9 SHA512 9111b3604d2d9166a65a3f641b0d64196e4a8f700c60a82072dac8d6e3bdc7c8f281cb5c278fac59d38b30d50614334cb0b28b5835cecfaf70d045a4df85eff0 +EBUILD pwgen-1.0.ebuild 588 BLAKE2B 6c2051fb649ed8569d3b8876ef605f9362dd10d4d95298859a72220ae7b26324d36352c3da04030401e6e62554d7fc35d19db05dac7e31c8477045fe8cab6d62 SHA512 5353a3ae7810321efbef1666f4c818dcf570f6869db289606ff520f84b15d401ef5ccf29a803d9bb35968e3bb4b7eba5c5e525b9453c170f680eaea874a42481 +EBUILD pwgen-9999.ebuild 588 BLAKE2B 6c2051fb649ed8569d3b8876ef605f9362dd10d4d95298859a72220ae7b26324d36352c3da04030401e6e62554d7fc35d19db05dac7e31c8477045fe8cab6d62 SHA512 5353a3ae7810321efbef1666f4c818dcf570f6869db289606ff520f84b15d401ef5ccf29a803d9bb35968e3bb4b7eba5c5e525b9453c170f680eaea874a42481 diff --git a/sys-apps/pwgen/pwgen-1.0.ebuild b/sys-apps/pwgen/pwgen-1.0.ebuild new file mode 100644 index 0000000..04a2366 --- /dev/null +++ b/sys-apps/pwgen/pwgen-1.0.ebuild @@ -0,0 +1,29 @@ +# Copyright 2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{8,9,10} ) + +inherit distutils-r1 + +DESCRIPTION="Password generator" +HOMEPAGE="https://gitea.fulh.ax/feffe/pwgen" +if [[ ${PV} == *9999 ]] ; then + EGIT_REPO_URI="https://gitea.fulh.ax/feffe/pwgen.git" + inherit git-r3 + KEYWORDS="~amd64" +else + SRC_URI="https://gitea.fulh.ax/feffe/pwgen/archive/v${PV}.tar.gz -> ${P}.tar.gz" + S="${WORKDIR}/pwgen" + KEYWORDS="amd64" +fi + + +LICENSE="BSD" +SLOT="0" +IUSE="" + +DEPEND="" +RDEPEND="${DEPEND} app-text/hunspell" +BDEPEND="" diff --git a/sys-apps/pwgen/pwgen-9999.ebuild b/sys-apps/pwgen/pwgen-9999.ebuild new file mode 100644 index 0000000..04a2366 --- /dev/null +++ b/sys-apps/pwgen/pwgen-9999.ebuild @@ -0,0 +1,29 @@ +# Copyright 2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{8,9,10} ) + +inherit distutils-r1 + +DESCRIPTION="Password generator" +HOMEPAGE="https://gitea.fulh.ax/feffe/pwgen" +if [[ ${PV} == *9999 ]] ; then + EGIT_REPO_URI="https://gitea.fulh.ax/feffe/pwgen.git" + inherit git-r3 + KEYWORDS="~amd64" +else + SRC_URI="https://gitea.fulh.ax/feffe/pwgen/archive/v${PV}.tar.gz -> ${P}.tar.gz" + S="${WORKDIR}/pwgen" + KEYWORDS="amd64" +fi + + +LICENSE="BSD" +SLOT="0" +IUSE="" + +DEPEND="" +RDEPEND="${DEPEND} app-text/hunspell" +BDEPEND=""