Page MenuHomeFreeBSD

D19064.id53734.diff
No OneTemporary

D19064.id53734.diff

Index: lang/python-doc-html/Makefile
===================================================================
--- lang/python-doc-html/Makefile
+++ lang/python-doc-html/Makefile
@@ -22,16 +22,45 @@
DOCSDIR= ${PREFIX}/share/doc/${PYTHON_VERSION}
PLIST= ${WRKDIR}/pkg-plist.${DOCFORMAT}
+DOCFORMATS= html pdf-a4 pdf-letter text
DOCFORMAT?= html
-.if ${DOCFORMAT} != "html" && ${DOCFORMAT} != "pdf-a4" && ${DOCFORMAT} != "pdf-letter" && ${DOCFORMAT} != "text"
-IGNORE= invalid value for DOCFORMAT: "${DOCFORMAT}", possible values are: text, html, pdf-a4, pdf-letter
+.if empty(DOCFORMATS:M${DOCFORMAT})
+PRETTY!= ${ECHO} ${DOCFORMATS} | ${SED} -e 's/ /, /g'
+IGNORE= invalid value for DOCFORMAT: "${DOCFORMAT}", possible values are: ${PRETTY}
.endif
.if ${DOCFORMAT} != "html" && ${DOCFORMAT} != "text"
WRKSRC= ${WRKDIR}/docs-pdf
.endif
+.if make(all_distfiles) || make(all_master_sites)
+_VERS!= ${MAKE} -V _PYTHON_VERSIONS
+.endif
+
+.if make(all_distfiles)
+all_distfiles:
+.for v in ${_VERS}
+.for f in ${DOCFORMATS}
+ @${MAKE} -V DISTFILES DEFAULT_VERSIONS=python=${v} DOCFORMAT=${f}
+.endfor
+.endfor
+.endif
+
+.if make(all_master_sites)
+all_master_sites:
+.for v in ${_VERS}
+.for f in ${DOCFORMATS}
+ @${MAKE} -V MASTER_SITES DEFAULT_VERSIONS=python=${v} DOCFORMAT=${f}
+.endfor
+.endfor
+.endif
+
+.if make(makesum)
+DISTFILES!= ${MAKE} all_distfiles
+MASTER_SITES!= ${MAKE} all_master_sites
+.endif
+
pre-install:
@${FIND} ${WRKSRC} -type f | ${SED} -e 's|^${WRKSRC}|%%DOCSDIR%%|' | ${SORT} > ${PLIST}
Index: lang/python-doc-html/distinfo
===================================================================
--- lang/python-doc-html/distinfo
+++ lang/python-doc-html/distinfo
@@ -1,4 +1,4 @@
-TIMESTAMP = 1548414749
+TIMESTAMP = 1549766625
SHA256 (python/python-2.7.15-docs-html.tar.bz2) = 5582aa8f59c2d5457ae87e266000f9ef75ed041a02fa72bd988a5169aae8ebde
SIZE (python/python-2.7.15-docs-html.tar.bz2) = 4627519
SHA256 (python/python-2.7.15-docs-pdf-a4.tar.bz2) = f747ca034cae426876017c37dfac0648ae535ad0b95d1e3a27385feee602d956
@@ -7,14 +7,6 @@
SIZE (python/python-2.7.15-docs-pdf-letter.tar.bz2) = 9429554
SHA256 (python/python-2.7.15-docs-text.tar.bz2) = 92b32e57182b1b7110f71db43a8c49aaaf9833186d7ea1021fe3b166e7164535
SIZE (python/python-2.7.15-docs-text.tar.bz2) = 1617467
-SHA256 (python/python-3.5.6-docs-html.tar.bz2) = 1a81b6640d0000db802e2c2deaf6584851c09d0a9afc238e41edcb2895f471b9
-SIZE (python/python-3.5.6-docs-html.tar.bz2) = 5779040
-SHA256 (python/python-3.5.6-docs-pdf-a4.tar.bz2) = f4803bba5d2fe5c96a7682729ccd45fc06b6f62acef957bc9b9588e4995b94e8
-SIZE (python/python-3.5.6-docs-pdf-a4.tar.bz2) = 10843211
-SHA256 (python/python-3.5.6-docs-pdf-letter.tar.bz2) = c94faa1c74e5babbe15b19607c5f0f936a402471a1c70b751751f08795c6aa8e
-SIZE (python/python-3.5.6-docs-pdf-letter.tar.bz2) = 10886386
-SHA256 (python/python-3.5.6-docs-text.tar.bz2) = 304e8e78ffcdab0d50803759e7087dca2a8f02626afc79025295951264e570d4
-SIZE (python/python-3.5.6-docs-text.tar.bz2) = 2070883
SHA256 (python/python-3.6.8-docs-html.tar.bz2) = d17ebdc57a6590b7c86c98047c4f90723c5a1846343a4640e0596161922cf9eb
SIZE (python/python-3.6.8-docs-html.tar.bz2) = 6010329
SHA256 (python/python-3.6.8-docs-pdf-a4.tar.bz2) = 4734db2cea99bbd2d3b6523cc3aa969c88cebfce7c705e8918677fce96cdd1c8
@@ -31,3 +23,11 @@
SIZE (python/python-3.7.2-docs-pdf-letter.tar.bz2) = 14010009
SHA256 (python/python-3.7.2-docs-text.tar.bz2) = e2057fd6a8c516f371f1fa139682b8d60bbb051664191054779c328932cda040
SIZE (python/python-3.7.2-docs-text.tar.bz2) = 2258890
+SHA256 (python/python-3.5.6-docs-html.tar.bz2) = 1a81b6640d0000db802e2c2deaf6584851c09d0a9afc238e41edcb2895f471b9
+SIZE (python/python-3.5.6-docs-html.tar.bz2) = 5779040
+SHA256 (python/python-3.5.6-docs-pdf-a4.tar.bz2) = f4803bba5d2fe5c96a7682729ccd45fc06b6f62acef957bc9b9588e4995b94e8
+SIZE (python/python-3.5.6-docs-pdf-a4.tar.bz2) = 10843211
+SHA256 (python/python-3.5.6-docs-pdf-letter.tar.bz2) = c94faa1c74e5babbe15b19607c5f0f936a402471a1c70b751751f08795c6aa8e
+SIZE (python/python-3.5.6-docs-pdf-letter.tar.bz2) = 10886386
+SHA256 (python/python-3.5.6-docs-text.tar.bz2) = 304e8e78ffcdab0d50803759e7087dca2a8f02626afc79025295951264e570d4
+SIZE (python/python-3.5.6-docs-text.tar.bz2) = 2070883

File Metadata

Mime Type
text/plain
Expires
Wed, Jun 17, 4:31 PM (5 h, 55 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
34031195
Default Alt Text
D19064.id53734.diff (4 KB)

Event Timeline