1
0
forked from ports/contrib

python3-sphinx: initial import

This commit is contained in:
John Vogel 2020-04-27 21:14:20 -04:00
parent 3c248278f3
commit dcd0acb538
3 changed files with 1107 additions and 0 deletions

1081
python3-sphinx/.footprint Normal file

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,5 @@
untrusted comment: verify with /etc/ports/contrib.pub
RWSagIOpLGJF39zUNvqhayNPZGii7qbdXt0bETAJY3Ppp2NMuFhNgpGb0lC/tZWJT4Tb7kEauRq4hM9L0xb7S00tHahavVOk2Qk=
SHA256 (Pkgfile) = 1b8a68e418cd7fe61fc2abe9c05067a3977da2cb055d14d5e7b6f8b465a8b3af
SHA256 (.footprint) = 7ccbdefb2075be0552e0222496d8b7736a39a398e7ec51fe6f1e492f34cb8c11
SHA256 (sphinx-3.0.3.tar.gz) = c3a7bac99f41e0982a45e09fd3d85a0800c60bb7a170711db708363a79afab89

21
python3-sphinx/Pkgfile Normal file
View File

@ -0,0 +1,21 @@
# Description: the Sphinx documentaion generator
# URL: http://www.sphinx-doc.org/
# Maintainer: John Vogel, jvogel4 at stny dot rr dot com
# Depends on: docutils python3-alabaster python3-babel python3-imagesize python3-jinja python3-packaging python3-pygments python3-requests python3-snowballstemmer python3-sphinxcontrib-applehelp python3-sphinxcontrib-devhelp python3-sphinxcontrib-htmlhelp python3-sphinxcontrib-jsmath python3-sphinxcontrib-qthelp python3-sphinxcontrib-serializinghtml python3-sphinxcontrib-websupport
name=python3-sphinx
version=3.0.3
release=1
source=(https://github.com/sphinx-doc/${name#*-}/archive/v$version/${name#*-}-$version.tar.gz)
build() {
cd ${name#*-}-$version
sed -i -e '/^tag_build = .*/d' -e 's,^\(tag_date =\).*$,\1 false,' setup.cfg
/usr/bin/python3 setup.py build
/usr/bin/python3 setup.py install --prefix=/usr --root=$PKG --optimize=1
# fix permissions
chmod -R go-w $PKG/*
}