python-sphinxcontrib-programoutput: Add more metadata, use tarball from pypi
This commit is contained in:
parent
3926b7e0ab
commit
7576f230cf
@ -8,7 +8,8 @@ pkgrel=1
|
||||
pkgdesc="Sphinx extension to insert the output of arbitrary commands into documents (mingw-w64)"
|
||||
arch=('any')
|
||||
mingw_arch=('mingw64' 'ucrt64' 'clang64' 'clangarm64')
|
||||
url='https://github.com/NextThought/sphinxcontrib-programoutput'
|
||||
url='https://sphinxcontrib-programoutput.readthedocs.io/'
|
||||
msys2_repository_url='https://github.com/OpenNTI/sphinxcontrib-programoutput'
|
||||
msys2_references=(
|
||||
'purl: pkg:pypi/sphinxcontrib-programoutput'
|
||||
)
|
||||
@ -17,13 +18,11 @@ depends=("${MINGW_PACKAGE_PREFIX}-python-sphinx")
|
||||
makedepends=("${MINGW_PACKAGE_PREFIX}-python-build"
|
||||
"${MINGW_PACKAGE_PREFIX}-python-installer"
|
||||
"${MINGW_PACKAGE_PREFIX}-python-setuptools")
|
||||
source=("$url/archive/$pkgver/${_realname}-${pkgver}.tar.gz")
|
||||
sha256sums=('19cef6383bd9ce2ed316258d6f22e42539435fe92964cbbe065c6e8794d0cd68')
|
||||
source=("https://pypi.org/packages/source/${_realname::1}/${_realname/-/_}/${_realname/-/_}-${pkgver}.tar.gz")
|
||||
sha256sums=('09e68b6411d937a80b6085f4fdeaa42e0dc5555480385938465f410589d2eed8')
|
||||
|
||||
build() {
|
||||
msg "Python build for ${MSYSTEM}"
|
||||
cd "${srcdir}"
|
||||
cp -r "${_realname}-${pkgver}" "python-build-${MSYSTEM}" && cd "python-build-${MSYSTEM}"
|
||||
cp -r "${_realname/-/_}-${pkgver}" "python-build-${MSYSTEM}" && cd "python-build-${MSYSTEM}"
|
||||
|
||||
${MINGW_PREFIX}/bin/python -m build --wheel --skip-dependency-check --no-isolation
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user