[notify] python3-sphinxcontrib-htmlhelp: upstream file from github is at the wrong version, remove source file and redownload

This commit is contained in:
Danny Rawlins 2021-09-18 13:49:51 +10:00
parent 6a7f69da47
commit aa0a9abe65
3 changed files with 21 additions and 23 deletions

View File

@ -6,7 +6,9 @@ drwxr-xr-x root/root usr/lib/python3.9/site-packages/sphinxcontrib/
drwxr-xr-x root/root usr/lib/python3.9/site-packages/sphinxcontrib/htmlhelp/
-rw-r--r-- root/root usr/lib/python3.9/site-packages/sphinxcontrib/htmlhelp/__init__.py
drwxr-xr-x root/root usr/lib/python3.9/site-packages/sphinxcontrib/htmlhelp/__pycache__/
-rw-r--r-- root/root usr/lib/python3.9/site-packages/sphinxcontrib/htmlhelp/__pycache__/__init__.cpython-39.opt-1.pyc
-rw-r--r-- root/root usr/lib/python3.9/site-packages/sphinxcontrib/htmlhelp/__pycache__/__init__.cpython-39.pyc
-rw-r--r-- root/root usr/lib/python3.9/site-packages/sphinxcontrib/htmlhelp/__pycache__/version.cpython-39.opt-1.pyc
-rw-r--r-- root/root usr/lib/python3.9/site-packages/sphinxcontrib/htmlhelp/__pycache__/version.cpython-39.pyc
drwxr-xr-x root/root usr/lib/python3.9/site-packages/sphinxcontrib/htmlhelp/locales/
drwxr-xr-x root/root usr/lib/python3.9/site-packages/sphinxcontrib/htmlhelp/locales/.tx/
@ -233,12 +235,12 @@ drwxr-xr-x root/root usr/lib/python3.9/site-packages/sphinxcontrib/htmlhelp/temp
-rw-r--r-- root/root usr/lib/python3.9/site-packages/sphinxcontrib/htmlhelp/templates/project.hhp
-rw-r--r-- root/root usr/lib/python3.9/site-packages/sphinxcontrib/htmlhelp/templates/project.stp
-rw-r--r-- root/root usr/lib/python3.9/site-packages/sphinxcontrib/htmlhelp/version.py
-rw-r--r-- root/root usr/lib/python3.9/site-packages/sphinxcontrib_htmlhelp-1.0.4-py3.9-nspkg.pth
drwxr-xr-x root/root usr/lib/python3.9/site-packages/sphinxcontrib_htmlhelp-1.0.4-py3.9.egg-info/
-rw-r--r-- root/root usr/lib/python3.9/site-packages/sphinxcontrib_htmlhelp-1.0.4-py3.9.egg-info/PKG-INFO
-rw-r--r-- root/root usr/lib/python3.9/site-packages/sphinxcontrib_htmlhelp-1.0.4-py3.9.egg-info/SOURCES.txt
-rw-r--r-- root/root usr/lib/python3.9/site-packages/sphinxcontrib_htmlhelp-1.0.4-py3.9.egg-info/dependency_links.txt
-rw-r--r-- root/root usr/lib/python3.9/site-packages/sphinxcontrib_htmlhelp-1.0.4-py3.9.egg-info/namespace_packages.txt
-rw-r--r-- root/root usr/lib/python3.9/site-packages/sphinxcontrib_htmlhelp-1.0.4-py3.9.egg-info/not-zip-safe
-rw-r--r-- root/root usr/lib/python3.9/site-packages/sphinxcontrib_htmlhelp-1.0.4-py3.9.egg-info/requires.txt
-rw-r--r-- root/root usr/lib/python3.9/site-packages/sphinxcontrib_htmlhelp-1.0.4-py3.9.egg-info/top_level.txt
-rw-r--r-- root/root usr/lib/python3.9/site-packages/sphinxcontrib_htmlhelp-2.0.0-py3.9-nspkg.pth
drwxr-xr-x root/root usr/lib/python3.9/site-packages/sphinxcontrib_htmlhelp-2.0.0-py3.9.egg-info/
-rw-r--r-- root/root usr/lib/python3.9/site-packages/sphinxcontrib_htmlhelp-2.0.0-py3.9.egg-info/PKG-INFO
-rw-r--r-- root/root usr/lib/python3.9/site-packages/sphinxcontrib_htmlhelp-2.0.0-py3.9.egg-info/SOURCES.txt
-rw-r--r-- root/root usr/lib/python3.9/site-packages/sphinxcontrib_htmlhelp-2.0.0-py3.9.egg-info/dependency_links.txt
-rw-r--r-- root/root usr/lib/python3.9/site-packages/sphinxcontrib_htmlhelp-2.0.0-py3.9.egg-info/namespace_packages.txt
-rw-r--r-- root/root usr/lib/python3.9/site-packages/sphinxcontrib_htmlhelp-2.0.0-py3.9.egg-info/not-zip-safe
-rw-r--r-- root/root usr/lib/python3.9/site-packages/sphinxcontrib_htmlhelp-2.0.0-py3.9.egg-info/requires.txt
-rw-r--r-- root/root usr/lib/python3.9/site-packages/sphinxcontrib_htmlhelp-2.0.0-py3.9.egg-info/top_level.txt

View File

@ -1,5 +1,5 @@
untrusted comment: verify with /etc/ports/contrib.pub
RWSagIOpLGJF3yHCsoZ2wAuwzv0ruVQhs6O06dtDjR7sXKFO5scGL4ZRSUaYBijPH8ONGWka04IfXo/01KNLbeq/EHUUUMMygQQ=
SHA256 (Pkgfile) = 4a6428ad9e86a2b18d50159bb8314e87fd4f8df42ed2ce6c3d50f5991d4f9c71
SHA256 (.footprint) = 507c02678f5c1840f1bb1cda03f083be4d8e4bcb9b31749775ddb3cb801f5149
SHA256 (sphinxcontrib-htmlhelp-2.0.0.tar.gz) = 4e38da7ea7c762ed676da907e0c65c2dd951b575f35b5b7f700636825e60a35c
RWSagIOpLGJF3zOaWxIVqJBI/RqRcvPI2UERdB7MW5jKF+GRE+NZhq7tMFiZs0p6N7qAtX8eCGOa2i+pCOYZR7Ar27qHE4pk9Qc=
SHA256 (Pkgfile) = 43bb52de1e6d0fd657168a61f9432aec703aeaa25dd6d5e1899ef4ec6f5b2a53
SHA256 (.footprint) = b2810de6d370132ee742696abf94f4e4c8d1d5ba0ff2e416b2a792f1b5582ba3
SHA256 (sphinxcontrib-htmlhelp-2.0.0.tar.gz) = f5f8bb2d0d629f398bf47d0d69c07bc13b65f75a81ad9e2f71a63d4b7a2f6db2

View File

@ -4,20 +4,16 @@
# Depends on: python3-setuptools
name=python3-sphinxcontrib-htmlhelp
_name=${name#*-}
version=2.0.0
release=1
source=(https://github.com/sphinx-doc/${name#*-}/archive/$version/${name#*-}-$version.tar.gz)
release=2
source=(https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$version.tar.gz)
build() {
cd ${name#*-}-$version
sed -i '/^tag_build =/s/= .*$/=/' setup.cfg
sed -i '/^tag_date =/s/true/false/' setup.cfg
cd $_name-$version
/usr/bin/python3 setup.py build
/usr/bin/python3 setup.py install \
--prefix=/usr \
--root=$PKG
/usr/bin/python3 setup.py install --root=$PKG --optimize=1 --skip-build
chmod -R go-w,a+r,u+w $PKG
# chmod -R go-w,a+r,u+w $PKG
}