mirror of
https://github.com/archlinux/aur.git
synced 2026-02-07 20:52:55 +01:00
update 0.8.0-1
This commit is contained in:
commit
a0f905af7d
2 changed files with 63 additions and 0 deletions
21
.SRCINFO
Normal file
21
.SRCINFO
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
pkgbase = python-toctree-plus
|
||||
pkgdesc = Enhanced Sphinx TocTree which shows classes, functions etc. as if they were sections
|
||||
pkgver = 0.8.0
|
||||
pkgrel = 1
|
||||
url = https://github.com/sphinx-toolbox/toctree_plus
|
||||
arch = any
|
||||
license = BSD-3-Clause
|
||||
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-docutils
|
||||
depends = python-sphinx
|
||||
source = toctree-plus::git+https://github.com/sphinx-toolbox/toctree_plus.git#tag=v0.8.0
|
||||
sha512sums = 3860c31e6ce66fd762425486b62322106305096a098ae8aede608154378d8776ea28710c7a4d60ed400aae09571be1fa7e317d48734e325d2ae60fae33d7eaaa
|
||||
|
||||
pkgname = python-toctree-plus
|
||||
42
PKGBUILD
Normal file
42
PKGBUILD
Normal file
|
|
@ -0,0 +1,42 @@
|
|||
# Maintainer: taotieren <admin@taotieren.com>
|
||||
|
||||
pkgname=python-toctree-plus
|
||||
_name=${pkgname#python-}
|
||||
pkgver=0.8.0
|
||||
pkgrel=1
|
||||
pkgdesc='Enhanced Sphinx TocTree which shows classes, functions etc. as if they were sections'
|
||||
arch=('any')
|
||||
url='https://github.com/sphinx-toolbox/toctree_plus'
|
||||
license=('BSD-3-Clause')
|
||||
depends=(
|
||||
'python'
|
||||
'python-docutils'
|
||||
'python-sphinx'
|
||||
)
|
||||
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=('3860c31e6ce66fd762425486b62322106305096a098ae8aede608154378d8776ea28710c7a4d60ed400aae09571be1fa7e317d48734e325d2ae60fae33d7eaaa')
|
||||
|
||||
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