diff --git a/dev-lang/python-exec/metadata.xml b/dev-lang/python-exec/metadata.xml
index 36f1f9e8f8144..edb96f5bbbf40 100644
--- a/dev-lang/python-exec/metadata.xml
+++ b/dev-lang/python-exec/metadata.xml
@@ -10,7 +10,7 @@
mgorny@gentoo.org
Michał Górny
- https://bitbucket.org/mgorny/python-exec/issues/
+ https://github.com/mgorny/python-exec/issues/
mgorny/python-exec
diff --git a/dev-lang/python-exec/python-exec-2.0.1-r1.ebuild b/dev-lang/python-exec/python-exec-2.0.1-r1.ebuild
index 1e8fd442af1df..9f61668c91b99 100644
--- a/dev-lang/python-exec/python-exec-2.0.1-r1.ebuild
+++ b/dev-lang/python-exec/python-exec-2.0.1-r1.ebuild
@@ -11,8 +11,8 @@ PYTHON_COMPAT=( "${_PYTHON_ALL_IMPLS[@]}" )
inherit autotools-utils python-r1
DESCRIPTION="Python script wrapper"
-HOMEPAGE="https://bitbucket.org/mgorny/python-exec/"
-SRC_URI="https://www.bitbucket.org/mgorny/${PN}/downloads/${P}.tar.bz2"
+HOMEPAGE="https://github.com/mgorny/python-exec/"
+SRC_URI="https://github.com/mgorny/${PN}/releases/download/${P}/${P}.tar.bz2"
LICENSE="BSD-2"
SLOT="2"
diff --git a/dev-lang/python-exec/python-exec-2.0.2.ebuild b/dev-lang/python-exec/python-exec-2.0.2.ebuild
index 6c17713614c6f..ed19eba42e1aa 100644
--- a/dev-lang/python-exec/python-exec-2.0.2.ebuild
+++ b/dev-lang/python-exec/python-exec-2.0.2.ebuild
@@ -11,8 +11,8 @@ PYTHON_COMPAT=( "${_PYTHON_ALL_IMPLS[@]}" )
inherit autotools-utils python-r1
DESCRIPTION="Python script wrapper"
-HOMEPAGE="https://bitbucket.org/mgorny/python-exec/"
-SRC_URI="https://www.bitbucket.org/mgorny/${PN}/downloads/${P}.tar.bz2"
+HOMEPAGE="https://github.com/mgorny/python-exec/"
+SRC_URI="https://github.com/mgorny/${PN}/releases/download/${P}/${P}.tar.bz2"
LICENSE="BSD-2"
SLOT="2"
diff --git a/dev-lang/python-exec/python-exec-2.1.ebuild b/dev-lang/python-exec/python-exec-2.1.ebuild
index dbcb2ed726a8d..4b4d2ac2712cf 100644
--- a/dev-lang/python-exec/python-exec-2.1.ebuild
+++ b/dev-lang/python-exec/python-exec-2.1.ebuild
@@ -13,8 +13,8 @@ PYTHON_COMPAT=( "${_PYTHON_ALL_IMPLS[@]}" )
inherit python-r1
DESCRIPTION="Python script wrapper"
-HOMEPAGE="https://bitbucket.org/mgorny/python-exec/"
-SRC_URI="https://www.bitbucket.org/mgorny/${PN}/downloads/${P}.tar.bz2"
+HOMEPAGE="https://github.com/mgorny/python-exec/"
+SRC_URI="https://github.com/mgorny/${PN}/releases/download/${P}/${P}.tar.bz2"
LICENSE="BSD-2"
SLOT="2"
diff --git a/dev-lang/python-exec/python-exec-2.4.3.ebuild b/dev-lang/python-exec/python-exec-2.4.3.ebuild
index 93ca528d489eb..1db43aaa1120b 100644
--- a/dev-lang/python-exec/python-exec-2.4.3.ebuild
+++ b/dev-lang/python-exec/python-exec-2.4.3.ebuild
@@ -13,8 +13,8 @@ PYTHON_COMPAT=( "${_PYTHON_ALL_IMPLS[@]}" )
inherit python-r1
DESCRIPTION="Python script wrapper"
-HOMEPAGE="https://bitbucket.org/mgorny/python-exec/"
-SRC_URI="https://www.bitbucket.org/mgorny/${PN}/downloads/${P}.tar.bz2"
+HOMEPAGE="https://github.com/mgorny/python-exec/"
+SRC_URI="https://github.com/mgorny/${PN}/releases/download/${P}/${P}.tar.bz2"
LICENSE="BSD-2"
SLOT="2"
diff --git a/dev-lang/python-exec/python-exec-9999.ebuild b/dev-lang/python-exec/python-exec-9999.ebuild
index 574412546bddc..c130a90f54115 100644
--- a/dev-lang/python-exec/python-exec-9999.ebuild
+++ b/dev-lang/python-exec/python-exec-9999.ebuild
@@ -5,7 +5,7 @@
EAPI=5
#if LIVE
-EGIT_REPO_URI="https://bitbucket.org/mgorny/${PN}.git"
+EGIT_REPO_URI="https://github.com/mgorny/${PN}.git"
inherit autotools git-r3
#endif
@@ -19,8 +19,8 @@ PYTHON_COMPAT=( "${_PYTHON_ALL_IMPLS[@]}" )
inherit python-r1
DESCRIPTION="Python script wrapper"
-HOMEPAGE="https://bitbucket.org/mgorny/python-exec/"
-SRC_URI="https://www.bitbucket.org/mgorny/${PN}/downloads/${P}.tar.bz2"
+HOMEPAGE="https://github.com/mgorny/python-exec/"
+SRC_URI="https://github.com/mgorny/${PN}/releases/download/${P}/${P}.tar.bz2"
LICENSE="BSD-2"
SLOT="2"