net-proxy/trojan: add live ebuild
authorYixun Lan <dlan@gentoo.org>
Fri, 17 Apr 2020 14:04:12 +0000 (22:04 +0800)
committerYixun Lan <dlan@gentoo.org>
Fri, 17 Apr 2020 14:04:49 +0000 (22:04 +0800)
also drop the old version

Package-Manager: Portage-2.3.89, Repoman-2.3.20
Signed-off-by: Yixun Lan <dlan@gentoo.org>
net-proxy/trojan/Manifest
net-proxy/trojan/trojan-9999.ebuild [moved from net-proxy/trojan/trojan-1.14.1.ebuild with 88% similarity]

index 6b77b1c4fd0d3dba945115b6fd73754fa50f472d..68ef8ddb4025cb30622d8648751cb1dc76fa4c5b 100644 (file)
@@ -1,2 +1 @@
-DIST trojan-1.14.1.tar.gz 45884 BLAKE2B 2498476f7e1a2190e21d85b2572fbc91a77b50f9f2adc2d3c3c5cef2554da17f322fbdb23232a55c66c38a4f680175f5c2aa87cefc25853b2007de4bb8bac84d SHA512 c8fcdae584e742d958c896e3a18605f22073341a8227a1d7cb116e9f2ddadd6e5007bfe40ff765d564f8659cd9e9d11731d95a5c74459b0698cc48dac49ead19
 DIST trojan-1.15.1.tar.gz 48121 BLAKE2B 38f288d8b9a6c7a98ada85b6b2dd2448604f54068334380c2e6b49d6ee015a1fad2847747734ef1e670d201d9625e64859ccddde5b924ea09c4e87e206997431 SHA512 5e0dfb46116b9de54f5d4e6d0646ab5ba3746143c5ad0f275c894929ba7fc840cacb187e514bbfaa770f0651fc4d3ff9e662f648f515a972ddf72ad0e93d616f
similarity index 88%
rename from net-proxy/trojan/trojan-1.14.1.ebuild
rename to net-proxy/trojan/trojan-9999.ebuild
index 21f494f1364df9061de7871ae0c142ca711d1c0a..fd0888f198b4bf05760a77ee4bedae4c69f22315 100644 (file)
@@ -4,16 +4,16 @@
 EAPI=7
 
 PYTHON_COMPAT=( python{3_6,3_7} )
+EGIT_REPO_URI="https://github.com/trojan-gfw/trojan.git"
 
-inherit cmake python-any-r1 systemd
+inherit cmake git-r3 python-any-r1 systemd
 
 DESCRIPTION="An unidentifiable mechanism that helps you bypass GFW"
 HOMEPAGE="https://github.com/trojan-gfw/trojan"
-SRC_URI="https://github.com/trojan-gfw/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
 
 LICENSE="GPL-3+"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+KEYWORDS=""
 IUSE="mysql test"
 
 # Some hiccups setting up local network server.