Add python-pdoc
This commit is contained in:
parent
667f24ee7b
commit
51ec047138
|
@ -0,0 +1,21 @@
|
|||
pkgbase = python-pdoc
|
||||
pkgdesc = A simple program and library to auto generate API documentation for Python modules.
|
||||
pkgver = 14.1.0
|
||||
pkgrel = 1
|
||||
url = https://pdoc.dev/
|
||||
arch = any
|
||||
license = Unlicense
|
||||
checkdepends = python-pytest
|
||||
checkdepends = python-pytest-timeout
|
||||
checkdepends = python-hypothesis
|
||||
checkdepends = nodejs
|
||||
makedepends = python-setuptools
|
||||
makedepends = python-build
|
||||
makedepends = python-installer
|
||||
depends = python-jinja
|
||||
depends = python-pygments
|
||||
depends = python-markupsafe
|
||||
source = https://files.pythonhosted.org/packages/source/p/pdoc/pdoc-14.1.0.tar.gz
|
||||
sha256sums = 3a0bd921a05c39a82b1505089eb6dc99d857b71b856aa60d1aca4d9086d0e18c
|
||||
|
||||
pkgname = python-pdoc
|
|
@ -0,0 +1,5 @@
|
|||
clean.sh
|
||||
instructions.txt
|
||||
/pkg/
|
||||
/src/
|
||||
*.tar.*
|
|
@ -0,0 +1,30 @@
|
|||
# Maintainer: Felix Yan <felixonmars@archlinux.org>
|
||||
# Maintainer: Renato Lui Geh <renatogeh at gmail dot com>
|
||||
# Contributor: George Rawlinson <grawlinson@archlinux.org>
|
||||
# Contributor: Daniel Wallace <danielwallace at gtmanfred dot com>
|
||||
# Contributor: Thomas S Hatch <thatch45@gmail.com>
|
||||
|
||||
pkgname=python-pdoc
|
||||
_pypiname=${pkgname/python-/}
|
||||
pkgver=14.4.0
|
||||
pkgrel=1
|
||||
pkgdesc='A simple program and library to auto generate API documentation for Python modules.'
|
||||
arch=('any')
|
||||
url='https://pdoc.dev/'
|
||||
license=('Unlicense')
|
||||
depends=('python-jinja' 'python-pygments' 'python-markupsafe')
|
||||
checkdepends=('python-pytest' 'python-pytest-timeout' 'python-hypothesis' 'nodejs')
|
||||
makedepends=('python-setuptools' 'python-build' 'python-installer')
|
||||
source=("https://files.pythonhosted.org/packages/source/${_pypiname::1}/${_pypiname}/${_pypiname}-${pkgver}.tar.gz")
|
||||
sha256sums=("SKIP")
|
||||
|
||||
build() {
|
||||
cd $srcdir/${_pypiname}-${pkgver}
|
||||
python -m build --wheel --no-isolation
|
||||
}
|
||||
|
||||
package() {
|
||||
cd $srcdir/${_pypiname}-${pkgver}
|
||||
python -m installer --destdir="$pkgdir" dist/${_pypiname}-${pkgver}-*.whl
|
||||
}
|
||||
|
Loading…
Reference in New Issue