Various fixes as suggested and a dependency issue I missed earlier. I had editted the wrong file.

This commit is contained in:
JPeterMugaas
2021-12-10 00:38:12 -05:00
parent b3ee22ae37
commit b31b575447
3 changed files with 10 additions and 45 deletions

View File

@@ -1,7 +1,5 @@
# Maintainer: Some One <some.one@some.email.com>
#
# https://github.com/jupyter/sphinxcontrib_github_alt/archive/refs/tags/1.2.tar.gz
#
# Maintainer: J. Peter Mugaas <jpmugaas@suddenlink.net>
_realname=sphinxcontrib-github-alt
pkgbase=mingw-w64-python-${_realname}
pkgname=("${MINGW_PACKAGE_PREFIX}-python-${_realname}")
@@ -9,43 +7,13 @@ pkgver=1.2
pkgrel=1
pkgdesc="Link to GitHub issues, pull requests, commits and users from Sphinx docs. (mingw-w64)"
arch=('any')
mingw_arch=('mingw32' 'mingw64' 'ucrt64' 'clang64' 'clang32' 'clangarm64')
url='https://github.com/jupyter/sphinxcontrib_github_alt'
license=('BSD')
depends=("${MINGW_PACKAGE_PREFIX}-python")
makedepends=("${MINGW_PACKAGE_PREFIX}-python"
"${MINGW_PACKAGE_PREFIX}-python-alabaster"
"${MINGW_PACKAGE_PREFIX}-python-atomicwrites"
"${MINGW_PACKAGE_PREFIX}-python-babel"
"${MINGW_PACKAGE_PREFIX}-python-coverage"
"${MINGW_PACKAGE_PREFIX}-python-docutils"
"${MINGW_PACKAGE_PREFIX}-python-imagesize"
"${MINGW_PACKAGE_PREFIX}-python-pluggy"
"${MINGW_PACKAGE_PREFIX}-python-py"
"${MINGW_PACKAGE_PREFIX}-python-pygments-github-lexers"
"${MINGW_PACKAGE_PREFIX}-python-pyparsing"
"${MINGW_PACKAGE_PREFIX}-python-pyproject2setuppy"
"${MINGW_PACKAGE_PREFIX}-python-pytest"
"${MINGW_PACKAGE_PREFIX}-python-pytest-cov"
"${MINGW_PACKAGE_PREFIX}-python-jinja2"
"${MINGW_PACKAGE_PREFIX}-python-markupsafe"
"${MINGW_PACKAGE_PREFIX}-python-testpath"
"${MINGW_PACKAGE_PREFIX}-python-requests"
"${MINGW_PACKAGE_PREFIX}-python-pytz"
"${MINGW_PACKAGE_PREFIX}-python-sphinxcontrib-applehelp"
"${MINGW_PACKAGE_PREFIX}-python-sphinxcontrib-devhelp"
"${MINGW_PACKAGE_PREFIX}-python-sphinxcontrib-github-alt"
"${MINGW_PACKAGE_PREFIX}-python-sphinxcontrib-htmlhelp"
"${MINGW_PACKAGE_PREFIX}-python-sphinxcontrib-jsmath"
"${MINGW_PACKAGE_PREFIX}-python-sphinxcontrib-qthelp"
"${MINGW_PACKAGE_PREFIX}-python-sphinxcontrib-serializinghtml"
"${MINGW_PACKAGE_PREFIX}-python-six"
"${MINGW_PACKAGE_PREFIX}-python-snowballstemmer"
"${MINGW_PACKAGE_PREFIX}-python-tomli"
"${MINGW_PACKAGE_PREFIX}-python-tomli-w"
)
depends=("${MINGW_PACKAGE_PREFIX}-python"
"${MINGW_PACKAGE_PREFIX}-python-docutils"
"${MINGW_PACKAGE_PREFIX}-python-sphinx")
makedepends=("${MINGW_PACKAGE_PREFIX}-python-pyproject2setuppy")
source=("${_realname}-${pkgver}.tar.gz"::"$url/archive/refs/tags/${pkgver}.tar.gz")
sha256sums=('7a85ad988f7b7cdc230d58854c31acab1308a75016b9c453bf76bfc0598cbbac')
@@ -63,12 +31,6 @@ build() {
"${MINGW_PREFIX}"/bin/python -m pyproject2setuppy.main build
}
check() {
cd "${srcdir}/python-build-${MSYSTEM}"
"${MINGW_PREFIX}"/bin/python -m pyproject2setuppy.main check
}
package() {
cd "${srcdir}/python-build-${MSYSTEM}"