commit:     19e71b2bf9b030645e194a2cb274ca3337607768
Author:     Jakov Smolic <jakov.smolic <AT> sartura <DOT> hr>
AuthorDate: Mon Nov  9 08:53:12 2020 +0000
Commit:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Tue Nov 17 09:18:33 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=19e71b2b

net-dns/https_dns_proxy: update live ebuild

Package-Manager: Portage-3.0.8, Repoman-3.0.1
Signed-off-by: Jakov Smolic <jakov.smolic <AT> sartura.hr>
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>

 .../https_dns_proxy/https_dns_proxy-9999.ebuild    | 28 ++++++++++++----------
 1 file changed, 16 insertions(+), 12 deletions(-)

diff --git a/net-dns/https_dns_proxy/https_dns_proxy-9999.ebuild 
b/net-dns/https_dns_proxy/https_dns_proxy-9999.ebuild
index 4952e64d90e..3c26883fb12 100644
--- a/net-dns/https_dns_proxy/https_dns_proxy-9999.ebuild
+++ b/net-dns/https_dns_proxy/https_dns_proxy-9999.ebuild
@@ -1,27 +1,31 @@
 # Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=6
-inherit git-r3 cmake-utils
+EAPI=7
+inherit cmake
 
-DESCRIPTION="A lightweight DNS-over-HTTPS proxy."
+if [[ ${PV} == "9999" ]] ; then
+       EGIT_REPO_URI="https://github.com/aarond10/https_dns_proxy.git";
+       inherit git-r3
+else
+       MY_COMMIT="2d9285e2b94bce21c588c8160f8fac660806987a"
+       
SRC_URI="https://github.com/aarond10/https_dns_proxy/archive/${MY_COMMIT}.tar.gz
 -> ${P}.tar.gz"
+       KEYWORDS="~amd64 ~x86"
+       S="${WORKDIR}/${PN}-${MY_COMMIT}"
+fi
+
+DESCRIPTION="A lightweight DNS-over-HTTPS proxy"
 HOMEPAGE="https://github.com/aarond10/https_dns_proxy";
-EGIT_REPO_URI="https://github.com/aarond10/${PN}.git";
-SRC_URI=""
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS=""
-IUSE=""
 
 DEPEND="dev-libs/libev
        net-dns/c-ares
-       >=net-misc/curl-7.53.0[http2,ssl]
-       "
+       net-misc/curl[http2,ssl]"
 RDEPEND="${DEPEND}"
 
 src_install() {
-       cmake-utils_src_install
-       exeinto /usr/bin
-       doexe "${S}_build/https_dns_proxy"
+       cmake_src_install
+       dobin "${S}_build/https_dns_proxy"
 }

Reply via email to