python-sphinx_rtd_theme: drop package

This commit is contained in:
Đoàn Trần Công Danh 2020-03-31 12:15:12 +07:00 committed by Piotr
parent 8822a6d602
commit 5841e001be
4 changed files with 20 additions and 32 deletions

View file

@ -1,31 +0,0 @@
# Template file for 'python-sphinx_rtd_theme'
pkgname=python-sphinx_rtd_theme
version=0.4.3
revision=2
archs=noarch
wrksrc="sphinx_rtd_theme-${version}"
build_style=python-module
pycompile_module="sphinx_rtd_theme"
hostmakedepends="python-setuptools python3-setuptools"
depends="python-Sphinx"
short_desc="ReadTheDocs.org theme for Sphinx (Python2)"
maintainer="Alessio Sergi <al3hex@gmail.com>"
license="MIT"
homepage="https://github.com/snide/sphinx_rtd_theme/"
distfiles="${PYPI_SITE}/s/sphinx_rtd_theme/sphinx_rtd_theme-${version}.tar.gz"
checksum=728607e34d60456d736cc7991fd236afb828b21b82f956c5ea75f94c8414040a
post_install() {
vlicense LICENSE
}
python3-sphinx_rtd_theme_package() {
archs=noarch
depends="python3-Sphinx"
pycompile_module="sphinx_rtd_theme"
short_desc="${short_desc/Python2/Python3}"
pkg_install() {
vmove usr/lib/python3*
vlicense LICENSE
}
}

View file

@ -1 +0,0 @@
python-sphinx_rtd_theme

View file

@ -0,0 +1,20 @@
# Template file for 'python3-sphinx_rtd_theme'
pkgname=python3-sphinx_rtd_theme
version=0.4.3
revision=3
archs=noarch
wrksrc="sphinx_rtd_theme-${version}"
build_style=python3-module
hostmakedepends="python3-setuptools"
depends="python3-Sphinx"
checkdepends="python3-Sphinx python3-pytest"
short_desc="ReadTheDocs.org theme for Sphinx (Python 3)"
maintainer="Alessio Sergi <al3hex@gmail.com>"
license="MIT"
homepage="https://github.com/snide/sphinx_rtd_theme/"
distfiles="${PYPI_SITE}/s/sphinx_rtd_theme/sphinx_rtd_theme-${version}.tar.gz"
checksum=728607e34d60456d736cc7991fd236afb828b21b82f956c5ea75f94c8414040a
post_install() {
vlicense LICENSE
}