-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
dev-python/{augpathlib,orthauth} version bump
also pull in ebuilds required for augpathlib 3.8 support dev-python/git-python dev-python/gitdb2 dev-python/smmap2 dev-python/pexpect dev-python/terminaltables sys-apps/file
- Loading branch information
Showing
17 changed files
with
433 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
# Copyright 1999-2020 Gentoo Authors | ||
# Distributed under the terms of the GNU General Public License v2 | ||
|
||
EAPI=7 | ||
|
||
PYTHON_COMPAT=( pypy3 python3_{6,7,8} ) | ||
inherit distutils-r1 | ||
|
||
if [[ ${PV} == "9999" ]]; then | ||
EGIT_REPO_URI="https://github.com/tgbugs/${PN}.git" | ||
inherit git-r3 | ||
KEYWORDS="" | ||
else | ||
SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz" | ||
KEYWORDS="~amd64 ~x86" | ||
fi | ||
|
||
DESCRIPTION="Augmented pathlib." | ||
HOMEPAGE="https://github.com/tgbugs/augpathlib" | ||
|
||
LICENSE="MIT" | ||
SLOT="0" | ||
IUSE="dev test" | ||
RESTRICT="!test? ( test )" | ||
|
||
DEPEND=" | ||
dev-python/git-python[${PYTHON_USEDEP}] | ||
>=dev-python/pexpect-4.7.0[${PYTHON_USEDEP}] | ||
dev-python/python-dateutil[${PYTHON_USEDEP}] | ||
dev-python/pyxattr[${PYTHON_USEDEP}] | ||
dev-python/setuptools[${PYTHON_USEDEP}] | ||
dev-python/terminaltables[${PYTHON_USEDEP}] | ||
|| ( sys-apps/file[python,${PYTHON_USEDEP}] dev-python/python-magic[${PYTHON_USEDEP}] ) | ||
dev? ( | ||
dev-python/pytest-cov[${PYTHON_USEDEP}] | ||
dev-python/wheel[${PYTHON_USEDEP}] | ||
) | ||
test? ( | ||
dev-python/pytest[${PYTHON_USEDEP}] | ||
dev-python/pytest-runner[${PYTHON_USEDEP}] | ||
) | ||
" | ||
RDEPEND="${DEPEND}" | ||
|
||
if [[ ${PV} == "9999" ]]; then | ||
src_prepare () { | ||
# replace package version to keep python quiet | ||
sed -i "s/__version__.\+$/__version__ = '9999.0.0+$(git rev-parse --short HEAD)'/" ${PN}/__init__.py | ||
default | ||
} | ||
fi | ||
|
||
python_test() { | ||
distutils_install_for_testing | ||
cd "${TEST_DIR}" || die | ||
cp -r "${S}/test" . || die | ||
cp "${S}/setup.cfg" . || die | ||
PYTHONWARNINGS=ignore pytest -v --color=yes || die "Tests fail with ${EPYTHON}" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,6 @@ | ||
DIST GitPython-2.1.11.tar.gz 428531 BLAKE2B 18b00f1e622c6588c14e1625f944d117348fb77e67161117510f42c8381db8cde8c6e16fa911edabfc4410239622fb845931b247bab4133585d2ec27969fea4c SHA512 5f964ee56c3f27c28f502150216af29b8463b19d9c0f773458dbabf17ba8587ee5c5e3fbcb31ad46c55e202d06bae447fd40007890a1bc116fe0370cdfc6401f | ||
DIST GitPython-2.1.9.tar.gz 429598 BLAKE2B b49df5ab574915172b9f14bf10d79ba78c3fc122d26d1726a157a6256a9e9df522dadafda9f8d5bf655b8c13699b9fbafcfede5a5e9d00cae04974490d6be89c SHA512 2caa2a4739a99f172911c73374b896f84e1d50e710db8475c56dfd03fad2b7545fdc5473cf0e7af594395e3182619794b337ac66ee17977e57a1f2aba64e76ce | ||
DIST GitPython-3.1.0.tar.gz 430079 BLAKE2B eaf4d4bb2f589a96bcdcf28e7ac6c0b8eab691a1dee5fbbec6d4a93bab9f123b07073af8a1b85aa5547057e46e6c8c004215167790b559f3848bf20c3ec1697f SHA512 6dab8449cc1736d7f58f9788b56bf63cc2bf0f420104d6e010a9624d21f53f5b5d33135bad4d91b40d9543b454be839f8003828ffe512c35a6513c27a2dd4b53 | ||
EBUILD git-python-2.1.11.ebuild 895 BLAKE2B f831d8ce4fd9313cea6d4e81c6f5a80f5469fac70c78aaa6b4ca818875845eb63f511ca4fe522d1101e7d73f5aca9d18f41be07b5ada3609e76dce0e55c7cd8f SHA512 bd2fdbe6d77636e21be5d1b99a9798c30f891da537448000799de65713d23443ed24dd878fe0d8d297f35d0b30b9f44c378900191c27d454e6022718545d4edd | ||
EBUILD git-python-2.1.9.ebuild 896 BLAKE2B a333a107c671276424764e94e9fb7ab3c400e3d5e211fc33e0cf1b083a34920b860444a08ed14258400773475521f59ce33de2daa85d2668967abeea5ca5560b SHA512 c8a148ed5f6efdea3b5d80b4f3f2a69c8c1d7f0ef19a1bc8b635631c6fb084a68874b6c013d1962980d2cf3173b335dbedd11f7cad9f6a0111dd65bcd64024db | ||
EBUILD git-python-3.1.0.ebuild 912 BLAKE2B 03da8e03ebf5afc2be77f9d0d015703a69a64bebeea7143e81ef54813b89b30917a099ee1773d0c7b8c30d3527c83da1a09760e60eef2002cb278780c3e7924e SHA512 9944d66105191c6d650d8d2e1699823dbbe4ceafcb2bb7851e628f5e87cf90532f561710f585d728f6a02667cda9e4d606b41001d501d721c6e4f56a18b6aa11 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
# Copyright 1999-2020 Gentoo Authors | ||
# Distributed under the terms of the GNU General Public License v2 | ||
|
||
EAPI=7 | ||
|
||
PYTHON_COMPAT=( python3_{6,7,8} pypy3 ) | ||
PYTHON_REQ_USE="threads(+)" | ||
|
||
inherit distutils-r1 | ||
|
||
MY_PN="GitPython" | ||
MY_PV="${PV/_rc/.RC}" | ||
MY_P="${MY_PN}-${MY_PV}" | ||
|
||
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:0:1}/${MY_PN}/${MY_P}.tar.gz" | ||
|
||
LICENSE="BSD" | ||
SLOT="0" | ||
KEYWORDS="~amd64 ~arm64 ~x86 ~amd64-linux ~x86-linux" | ||
IUSE="test" | ||
|
||
# Tests only work with the GitPython repo | ||
RESTRICT="test" | ||
|
||
RDEPEND=" | ||
>=dev-vcs/git-1.7 | ||
<dev-python/gitdb2-5 | ||
>=dev-python/gitdb2-4.0.1[${PYTHON_USEDEP}]" | ||
DEPEND="${RDEPEND} | ||
dev-python/setuptools[${PYTHON_USEDEP}] | ||
test? ( | ||
>=dev-python/ddt-1.1.1[${PYTHON_USEDEP}] | ||
dev-python/nose[${PYTHON_USEDEP}] | ||
)" | ||
|
||
S="${WORKDIR}/${MY_P}" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,6 @@ | ||
DIST gitdb2-2.0.3.tar.gz 392632 BLAKE2B c1313a8f571706cfb651dc114df98e85e385fbd7df40688386faf290cf177d282e6e3760ee43eb54d1562582755b6070a992f1f55a1821fef1e0e015f5cd09b0 SHA512 4be643b933b47f5511702aa9df5c3210847f059dff9a4794779040660cd60c5af7de5072eb18bc17971edba9a5551e9ba51dbe360194b7d454ee4f23348c8063 | ||
DIST gitdb2-2.0.4.tar.gz 393672 BLAKE2B 3a6b849fdf164ddb80cba5ae4c34749fdeb9e686ce94f49052e488ae7b196975c29277de46bc184d3cb97240121a9c0df1033480c679f262300caaa5eac5df00 SHA512 be0f89e35fd800ede9f29ab6e2dc97a7bdc918c22ed1272d348e570f3f732295a56c6138fcfa6d0c0027c0b12f20e23deff71fb24b9e7b5cd7dbd47816a14acd | ||
DIST gitdb2-4.0.2.tar.gz 949 BLAKE2B 66a2811841417f398086390b1441f5b348e765860edeff60fae32320d457018cd5f4d89436d7d1ac27fd8f4f22787e4ce4c194a4ec74d8c7b6db0852a8fd5e5a SHA512 1f49dc388ed29e2f9f761a9545e017e7db8a572e8813d44e99ad8401d5a32caf80d5c3654885a74be3de8abd3fa92bb914c31311a3d2e1a4cdea5366b27649b9 | ||
EBUILD gitdb2-2.0.3.ebuild 1240 BLAKE2B a123c1b5476fc0d50811b2a56d09209f3940e5c2ff52ad09da4c3248d4687a4f86de52bc7e5f802b173151da920402d97cbb5f3ec7c7befb908168b85afc7275 SHA512 a4be9d4c47f773e5c271ab432aa8420939e85f965f32686c0394061168ac9a9484d8c8002943e05a692bcf7a7dde6b8af517f78300a92633210c152226d38650 | ||
EBUILD gitdb2-2.0.4.ebuild 1245 BLAKE2B 4de8a2ab12ff86f7d23be48f23c863ed81f65aad0fd4440926e98cd3e3fd915496a50eaa41cfcbda2c748d5b95549de364323bd7dc021963fa2e7fd1d9909123 SHA512 a91964ac2b9e42d94b3c5470ce918431fa6cf01db2d1266462d9690fee030da116c24ee643a7c034e17d7093d2fa45e7a8373b34c097007d982f6785ec4ce663 | ||
EBUILD gitdb2-4.0.2.ebuild 1278 BLAKE2B 9a7ca7531cc8229bd798fdb97145336e869ba5229ee4bb008bec5c1814a6c48c12aabcd3d677d1d16ade8ce5b6dc64448002190cf2f4bfa4d3f546371c0245c4 SHA512 cfd32ddf4dada6f4b88bd18d6b4401dd1c3369a370c082b517b401716ec3792f8367da783500cfda8b2f4f4d5ec793fe2dfe8e20bae37486ae81407c6a1c43f7 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
# Copyright 1999-2020 Gentoo Authors | ||
# Distributed under the terms of the GNU General Public License v2 | ||
|
||
EAPI=7 | ||
|
||
PYTHON_COMPAT=( python3_{6,7,8} pypy3 ) | ||
|
||
inherit distutils-r1 | ||
|
||
DESCRIPTION="GitDB is a pure-Python git object database" | ||
HOMEPAGE=" | ||
https://github.com/gitpython-developers/gitdb | ||
https://pypi.org/project/gitdb2/" | ||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" | ||
|
||
LICENSE="BSD" | ||
SLOT="0" | ||
KEYWORDS="~amd64 ~arm64 ~x86" | ||
IUSE="test" | ||
RESTRICT="!test? ( test )" | ||
|
||
RDEPEND=" | ||
!dev-python/gitdb[${PYTHON_USEDEP}] | ||
<dev-python/smmap2-4 | ||
>=dev-python/smmap2-3.0.1[${PYTHON_USEDEP}]" | ||
DEPEND="${RDEPEND} | ||
test? ( | ||
dev-python/nose[${PYTHON_USEDEP}] | ||
dev-vcs/git | ||
)" | ||
|
||
src_test() { | ||
local i | ||
|
||
mkdir "${T}"/repo || die | ||
cd "${T}"/repo || die | ||
|
||
for (( i = 0; i < 2500; ++i )); do | ||
echo "${i}" > file"${i}" || die | ||
done | ||
|
||
git init || die | ||
git config user.email "[email protected]" || die | ||
git config user.name "Your Name" || die | ||
git add -A || die | ||
git commit -q -m ".." || die | ||
git clone --bare "${T}"/repo "${T}"/repo.git || die | ||
cd "${S}" || die | ||
|
||
distutils-r1_src_test | ||
} | ||
|
||
python_test() { | ||
#TRAVIS=1 disables performance tests which rely on the gitdb repo | ||
local -x TRAVIS=1 | ||
local -x GITDB_TEST_GIT_REPO_BASE="${T}"/repo.git | ||
nosetests -v || die "Tests fail with ${EPYTHON}" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.