dev-ml/ojquery: fix homepage
authorAlexis Ballier <aballier@gentoo.org>
Mon, 24 Oct 2016 14:07:45 +0000 (16:07 +0200)
committerAlexis Ballier <aballier@gentoo.org>
Mon, 24 Oct 2016 14:07:45 +0000 (16:07 +0200)
Package-Manager: portage-2.3.2

dev-ml/ojquery/ojquery-0.1.ebuild
dev-ml/ojquery/ojquery-9999.ebuild

index c94eccbb5981ae097adc6481d4b1920b152328d1..123a47477ebb41e18f727f5b7e1fabbf14b92295 100644 (file)
@@ -7,12 +7,20 @@ EAPI=5
 inherit oasis
 
 DESCRIPTION="jQuery Binding for Eliom."
-HOMEPAGE="jQuery Binding for Eliom."
-SRC_URI="https://github.com/ocsigen/ojquery/archive/${PV}.tar.gz -> ${P}.tar.gz"
+HOMEPAGE="https://github.com/ocsigen/ojquery"
+
+if [ "${PV#9999}" != "${PV}" ] ; then
+       inherit git-r3
+       SRC_URI=""
+       EGIT_REPO_URI="https://github.com/ocsigen/ojquery"
+       KEYWORDS=""
+else
+       SRC_URI="https://github.com/ocsigen/ojquery/archive/${PV}.tar.gz -> ${P}.tar.gz"
+       KEYWORDS="~amd64"
+fi
 
 LICENSE="LGPL-3"
 SLOT="0/${PV}"
-KEYWORDS="~amd64"
 IUSE=""
 
 RDEPEND="dev-ml/react:=
index a4f9a1d20424235b91c411365638703959d23e93..123a47477ebb41e18f727f5b7e1fabbf14b92295 100644 (file)
@@ -7,7 +7,7 @@ EAPI=5
 inherit oasis
 
 DESCRIPTION="jQuery Binding for Eliom."
-HOMEPAGE="jQuery Binding for Eliom."
+HOMEPAGE="https://github.com/ocsigen/ojquery"
 
 if [ "${PV#9999}" != "${PV}" ] ; then
        inherit git-r3