mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-18 11:33:15 -04:00
Merge updates from master
This commit is contained in:
@@ -1,36 +0,0 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python3_{6,7,8} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="A python library used to interact with Git repositories"
|
||||
HOMEPAGE="https://github.com/gitpython-developers/GitPython"
|
||||
SRC_URI="https://github.com/gitpython-developers/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
RESTRICT="test" # only works inside upstream git repo
|
||||
|
||||
RDEPEND="dev-python/gitdb[${PYTHON_USEDEP}]"
|
||||
|
||||
BDEPEND="test? ( dev-python/ddt[${PYTHON_USEDEP}] )"
|
||||
|
||||
distutils_enable_tests pytest
|
||||
distutils_enable_sphinx doc/source dev-python/sphinx_rtd_theme
|
||||
|
||||
python_test() {
|
||||
cd "${S}" || die
|
||||
git init || die
|
||||
git config user.email "you@example.com" || die
|
||||
git config user.name "Your Name" || die
|
||||
git add -A || die
|
||||
git commit -q -m ".." || die
|
||||
|
||||
pytest -vv || die "Tests fail with ${EPYTHON}"
|
||||
}
|
||||
@@ -1 +0,0 @@
|
||||
DIST GitPython-3.1.0.tar.gz 441018 BLAKE2B ccccc6134abc6cf12a8a484f55465ceac52a118e17901f15443aabe4333a917012877fe7ea58b1cbf97fcbd030005e61c782d9f1d19b4d26fa27515b82de1a81 SHA512 29d01a8b3a484fc62521b7f03a75e801d7b98e007652956f73e5532d064992f802cf6f1da2c380b66cfb55a2d0a487b8f28199fd241136a7d74df02f41859c3c
|
||||
@@ -1,9 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>andrewammerlaan@riseup.net</email>
|
||||
<name>Andrew Ammerlaan</name>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
||||
@@ -21,7 +21,7 @@ RESTRICT="test" # fails, mkdocs failed
|
||||
|
||||
RDEPEND="
|
||||
>=dev-python/Babel-2.7.0[${PYTHON_USEDEP}]
|
||||
dev-python/GitPython[${PYTHON_USEDEP}]
|
||||
dev-python/git-python[${PYTHON_USEDEP}]
|
||||
dev-python/mkdocs[${PYTHON_USEDEP}]
|
||||
dev-python/jinja[${PYTHON_USEDEP}]"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user