diff --git a/sci-libs/libh2o/libh2o-0.2.1.ebuild b/sci-libs/libh2o/libh2o-0.2.1.ebuild
index 03e9cb7d25c14..1cc49ecad8b6a 100644
--- a/sci-libs/libh2o/libh2o-0.2.1.ebuild
+++ b/sci-libs/libh2o/libh2o-0.2.1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=4
@@ -6,8 +6,8 @@ EAPI=4
inherit autotools-utils
DESCRIPTION="Library of routines for IF97 water & steam properties"
-HOMEPAGE="https://bitbucket.org/mgorny/libh2o/"
-SRC_URI="https://www.bitbucket.org/mgorny/${PN}/downloads/${P}.tar.bz2"
+HOMEPAGE="https://github.com/mgorny/libh2o/"
+SRC_URI="https://github.com/mgorny/libh2o/releases/download/${P}/${P}.tar.bz2"
LICENSE="BSD"
SLOT="0"
diff --git a/sci-libs/libh2o/libh2o-9999.ebuild b/sci-libs/libh2o/libh2o-9999.ebuild
index 28b2f2cc10c9e..2181109f36601 100644
--- a/sci-libs/libh2o/libh2o-9999.ebuild
+++ b/sci-libs/libh2o/libh2o-9999.ebuild
@@ -8,9 +8,9 @@ AUTOTOOLS_AUTORECONF=yes
inherit autotools-utils git-r3
DESCRIPTION="Library of routines for IF97 water & steam properties"
-HOMEPAGE="https://bitbucket.org/mgorny/libh2o/"
+HOMEPAGE="https://github.com/mgorny/libh2o/"
SRC_URI=""
-EGIT_REPO_URI="https://bitbucket.org/mgorny/${PN}.git"
+EGIT_REPO_URI="https://github.com/mgorny/libh2o.git"
LICENSE="BSD"
SLOT="0"
diff --git a/sci-libs/libh2o/metadata.xml b/sci-libs/libh2o/metadata.xml
index 3b33b5ad848d4..d7baf471a7055 100644
--- a/sci-libs/libh2o/metadata.xml
+++ b/sci-libs/libh2o/metadata.xml
@@ -10,7 +10,7 @@
mgorny@gentoo.org
Michał Górny
- https://bitbucket.org/mgorny/libh2o/issues/
- mgorny/libh2o
+ https://github.com/mgorny/libh2o/issues/
+ mgorny/libh2o