mirror of
https://github.com/archlinux/aur.git
synced 2026-02-08 13:12:02 +01:00
update 4.1.2-1
This commit is contained in:
commit
f9136a1dbd
2 changed files with 100 additions and 0 deletions
39
.SRCINFO
Normal file
39
.SRCINFO
Normal file
|
|
@ -0,0 +1,39 @@
|
|||
pkgbase = python-sphinx-toolbox
|
||||
pkgdesc = Box of handy tools for Sphinx 🧰 📔
|
||||
pkgver = 4.1.2
|
||||
pkgrel = 1
|
||||
url = https://github.com/sphinx-toolbox/sphinx-toolbox
|
||||
arch = any
|
||||
license = MIT
|
||||
makedepends = git
|
||||
makedepends = python-whey
|
||||
makedepends = python-build
|
||||
makedepends = python-license-expression
|
||||
makedepends = python-installer
|
||||
makedepends = python-wheel
|
||||
makedepends = python-setuptools
|
||||
depends = python
|
||||
depends = python-apeye
|
||||
depends = python-autodocsumm
|
||||
depends = python-coincidence
|
||||
depends = python-dict2css
|
||||
depends = python-domdf-python-tools
|
||||
depends = python-toctree-plus
|
||||
depends = python-typing-inspect
|
||||
depends = python-attrs
|
||||
depends = python-beautifulsoup4
|
||||
depends = python-docutils
|
||||
depends = python-jinja
|
||||
depends = python-sphinx
|
||||
depends = python-sphinx-autodoc-typehints
|
||||
depends = python-pygments
|
||||
depends = python-pytest
|
||||
depends = python-pytest-regressions
|
||||
depends = python-requests
|
||||
depends = python-ruamel-yaml
|
||||
depends = python-tabulate
|
||||
depends = python-typing_extensions
|
||||
source = sphinx-toolbox::git+https://github.com/sphinx-toolbox/sphinx-toolbox.git#tag=v4.1.2
|
||||
sha512sums = e3964e3d52f54aeef1c46d9a8e0b8911b0f944b41d814f597032e08cca3f65cace0f4d2d36ff32d0ac5f2199fcb80e55d7e3e5a1acc9456f63fbf6c48871965e
|
||||
|
||||
pkgname = python-sphinx-toolbox
|
||||
61
PKGBUILD
Normal file
61
PKGBUILD
Normal file
|
|
@ -0,0 +1,61 @@
|
|||
# Maintainer: taotieren <admin@taotieren.com>
|
||||
|
||||
pkgname=python-sphinx-toolbox
|
||||
_name=${pkgname#python-}
|
||||
pkgver=4.1.2
|
||||
pkgrel=1
|
||||
pkgdesc='Box of handy tools for Sphinx 🧰 📔'
|
||||
arch=('any')
|
||||
url='https://github.com/sphinx-toolbox/sphinx-toolbox'
|
||||
license=('MIT')
|
||||
depends=(
|
||||
'python'
|
||||
python-apeye
|
||||
python-autodocsumm
|
||||
python-coincidence
|
||||
python-dict2css
|
||||
python-domdf-python-tools
|
||||
python-toctree-plus
|
||||
python-typing-inspect
|
||||
|
||||
'python-attrs'
|
||||
'python-beautifulsoup4'
|
||||
'python-docutils'
|
||||
'python-jinja'
|
||||
'python-sphinx'
|
||||
'python-sphinx-autodoc-typehints'
|
||||
'python-pygments'
|
||||
'python-pytest'
|
||||
'python-pytest-regressions'
|
||||
'python-requests'
|
||||
'python-ruamel-yaml'
|
||||
'python-tabulate'
|
||||
'python-typing_extensions'
|
||||
)
|
||||
makedepends=(
|
||||
'git'
|
||||
'python-whey'
|
||||
'python-build'
|
||||
'python-license-expression'
|
||||
'python-installer'
|
||||
'python-wheel'
|
||||
'python-setuptools'
|
||||
)
|
||||
optdepends=()
|
||||
source=("${_name}::git+${url}.git#tag=v$pkgver")
|
||||
sha512sums=('e3964e3d52f54aeef1c46d9a8e0b8911b0f944b41d814f597032e08cca3f65cace0f4d2d36ff32d0ac5f2199fcb80e55d7e3e5a1acc9456f63fbf6c48871965e')
|
||||
|
||||
prepare() {
|
||||
git -C "${srcdir}/${_name}" clean -dfx
|
||||
}
|
||||
|
||||
build() {
|
||||
cd "${srcdir}/${_name}"
|
||||
python -m whey --wheel
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "${srcdir}/${_name}"
|
||||
python -m installer --destdir="${pkgdir}" dist/*.whl
|
||||
install -Dm0644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}/"
|
||||
}
|
||||
Loading…
Add table
Reference in a new issue