mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-05 12:38:09 -07:00
dev-python/sphinxcontrib-github-alt: Remove redundant versions
Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
@@ -1,8 +0,0 @@
|
||||
__init__.py for sphinxcontrib_github_alt by Marius Brehler.
|
||||
|
||||
Patch by Marius Brehler <marbrbre@linux.sungazer.de>.
|
||||
--- /dev/null
|
||||
+++ b/sphinxcontrib_github_alt/__init__.py
|
||||
@@ -0,0 +1 @@
|
||||
+from .sphinxcontrib_github_alt import *
|
||||
\ No newline at end of file
|
||||
@@ -1,19 +0,0 @@
|
||||
setup.py for sphinxcontrib_github_alt by Marius Brehler <marbre@linux.sungazer.de>.
|
||||
|
||||
Patch by Marius Brehler <marbrbre@linux.sungazer.de>.
|
||||
--- /dev/null
|
||||
+++ b/setup.py
|
||||
@@ -0,0 +1,12 @@
|
||||
+from distutils.core import setup
|
||||
+
|
||||
+setup(name='sphinxcontrib_github_alt',
|
||||
+ version='1.1',
|
||||
+ author='Jupyter Development Team',
|
||||
+ author_email='jupyter@googlegroups.com',
|
||||
+ url='https://github.com/jupyter/sphinxcontrib_github_alt',
|
||||
+ packages=['sphinxcontrib_github_alt'],
|
||||
+ classifiers=[
|
||||
+ 'License :: OSI Approved :: BSD License'
|
||||
+ ]
|
||||
+)
|
||||
\ No newline at end of file
|
||||
@@ -1,35 +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} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
MY_PN="sphinxcontrib_github_alt"
|
||||
|
||||
DESCRIPTION="Link to GitHub issues, pull requests, commits and users from Sphinx docs"
|
||||
HOMEPAGE="https://github.com/jupyter/sphinxcontrib_github_alt"
|
||||
SRC_URI="https://github.com/jupyter/${MY_PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 arm64 x86"
|
||||
|
||||
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
|
||||
RDEPEND="
|
||||
dev-python/sphinx[${PYTHON_USEDEP}]"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${PN}"-1.1-setup.py.patch
|
||||
"${FILESDIR}/${PN}"-1.0-init.py.patch
|
||||
)
|
||||
|
||||
S="${WORKDIR}/${MY_PN}-${PV}"
|
||||
|
||||
python_prepare_all() {
|
||||
distutils-r1_python_prepare_all
|
||||
|
||||
mv "${WORKDIR}/${MY_PN}-${PV}"/sphinxcontrib_github_alt.py "${WORKDIR}/${MY_PN}-${PV}/${MY_PN}/" || die
|
||||
}
|
||||
Reference in New Issue
Block a user