app-i18n/xsunpinyin: new upstream release
authorAkinori Hattori <hattya@gentoo.org>
Thu, 9 Aug 2018 13:37:08 +0000 (22:37 +0900)
committerAkinori Hattori <hattya@gentoo.org>
Thu, 9 Aug 2018 13:37:08 +0000 (22:37 +0900)
Package-Manager: Portage-2.3.40, Repoman-2.3.9

app-i18n/xsunpinyin/Manifest
app-i18n/xsunpinyin/xsunpinyin-3.0.0_rc1.ebuild [moved from app-i18n/xsunpinyin/xsunpinyin-2.0.4_pre20130108.ebuild with 76% similarity]

index d42f82335ff417d0f9e3f242c3777189daca4ba9..016fef2a7157c67cc0d9d7fcf060a5d841f73e2e 100644 (file)
@@ -1 +1 @@
-DIST sunpinyin-2.0.4_pre20130108.tar.xz 964764 BLAKE2B 2c9d2e3fc02009ad10784c9408434c6806d1403026fb27629701650fe0e8a69c5580050846cf5c3b870215b8bfd68fe9c52d8bdaf83c41e523224463af9cf530 SHA512 7c1dd7db8b800e9d436746a560a16de2c6777576868f2e7e28f6dcb767b91ccd62b974f9d4ce6bd6ce80d30e1ee83887c3ee03c227e7e9fa59c01db4867465b2
+DIST sunpinyin-3.0.0_rc1.tar.gz 547138 BLAKE2B 682e733241d690d1fef8ce452c497a894c5ab61bf5298c1f292ce3a25a681d594744db43ebd51b3e59274cce0e47a1bce15a793f2c20e2998915c3432f2a7c32 SHA512 c9d4936de5835a7f02e52c5b32bf1a42d76bf7588449aaa813f3df7ab2d72f3ca0f4e18f74a60be4860f0724b5e05cbe567c67e6f3150b0e71b23b3a9002fc5e
similarity index 76%
rename from app-i18n/xsunpinyin/xsunpinyin-2.0.4_pre20130108.ebuild
rename to app-i18n/xsunpinyin/xsunpinyin-3.0.0_rc1.ebuild
index 4b662fbfffb7e857d439889b2be26bc4503df344..c87c83f85db734cb6b4b2d852278bd81ac8729a0 100644 (file)
@@ -4,11 +4,13 @@
 EAPI="6"
 PYTHON_COMPAT=( python2_7 )
 
-inherit python-any-r1 scons-utils toolchain-funcs
+inherit python-any-r1 scons-utils toolchain-funcs vcs-snapshot
+
+MY_P="${P:1}"
 
 DESCRIPTION="A standalone XIM server for SunPinyin"
 HOMEPAGE="https://github.com/sunpinyin/sunpinyin"
-SRC_URI="https://dev.gentoo.org/~yngwin/distfiles/sunpinyin-${PV}.tar.xz"
+SRC_URI="https://github.com/${PN#*-}/${PN#*-}/archive/v${PV/_rc/-rc}.tar.gz -> ${MY_P}.tar.gz"
 
 LICENSE="LGPL-2.1 CDDL"
 SLOT="0"
@@ -20,7 +22,7 @@ RDEPEND="~app-i18n/sunpinyin-${PV}:=
        x11-libs/libX11"
 DEPEND="${RDEPEND}
        virtual/pkgconfig"
-S="${WORKDIR}/${P:1}"
+S="${WORKDIR}/${MY_P}"
 
 src_prepare() {
        default