summaryrefslogtreecommitdiff
path: root/dev-python/GitPython
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2020-03-13 10:27:48 +0100
committerMichał Górny <mgorny@gentoo.org>2020-03-13 10:55:59 +0100
commit6e3b4c5604b9a5a67dfad674873ee7954698ad76 (patch)
tree217b62c0621525a5ee768d8843e9afe5a92fffd3 /dev-python/GitPython
parent0dec450a90c7490f11df7e69cd9c6709c099285c (diff)
downloadgentoo-6e3b4c5604b9a5a67dfad674873ee7954698ad76.tar.gz
gentoo-6e3b4c5604b9a5a67dfad674873ee7954698ad76.tar.bz2
gentoo-6e3b4c5604b9a5a67dfad674873ee7954698ad76.zip
dev-python/GitPython: Remove redundant MY_P*
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/GitPython')
-rw-r--r--dev-python/GitPython/GitPython-3.1.0.ebuild9
1 files changed, 3 insertions, 6 deletions
diff --git a/dev-python/GitPython/GitPython-3.1.0.ebuild b/dev-python/GitPython/GitPython-3.1.0.ebuild
index 586d0abb46de..8d0903d98997 100644
--- a/dev-python/GitPython/GitPython-3.1.0.ebuild
+++ b/dev-python/GitPython/GitPython-3.1.0.ebuild
@@ -8,20 +8,17 @@ PYTHON_REQ_USE="threads(+)"
inherit distutils-r1
-MY_PN=GitPython
-MY_P=${MY_PN}-${PV}
GITDB_P=gitdb-4.0.2
SMMAP_P=smmap-3.0.1
DESCRIPTION="Library used to interact with Git repositories"
HOMEPAGE="https://github.com/gitpython-developers/GitPython https://pypi.org/project/GitPython/"
-SRC_URI="mirror://pypi/${MY_PN::1}/${MY_PN}/${MY_P}.tar.gz
+SRC_URI="mirror://pypi/${PN::1}/${PN}/${P}.tar.gz
test? (
- https://dev.gentoo.org/~mgorny/dist/${MY_P}.gitbundle
+ https://dev.gentoo.org/~mgorny/dist/${P}.gitbundle
https://dev.gentoo.org/~mgorny/dist/${GITDB_P}.gitbundle
https://dev.gentoo.org/~mgorny/dist/${SMMAP_P}.gitbundle
)"
-S=${WORKDIR}/${MY_P}
LICENSE="BSD"
SLOT="0"
@@ -41,7 +38,7 @@ src_test() {
git config --global user.email "you@example.com" || die
git config --global user.name "Your Name" || die
- git clone "${DISTDIR}/${MY_P}.gitbundle" "${T}"/test || die
+ git clone "${DISTDIR}/${P}.gitbundle" "${T}"/test || die
git clone "${DISTDIR}/${GITDB_P}.gitbundle" \
"${T}"/test/git/ext/gitdb || die
git clone "${DISTDIR}/${SMMAP_P}.gitbundle" \