- Timestamp:
- 10/07/2022 08:42:06 PM (2 years ago)
- Branches:
- 11.3, 12.0, 12.1, 12.2, gimp3, kea, ken/TL2024, ken/inkscape-core-mods, ken/tuningfonts, lazarus, lxqt, plabs/newcss, plabs/python-mods, python3.11, qt5new, rahul/power-profiles-daemon, renodr/vulkan-addition, trunk, xry111/for-12.3, xry111/llvm18, xry111/spidermonkey128, xry111/xf86-video-removal
- Children:
- b3e18015
- Parents:
- 036821b
- Location:
- general/prog/python-dependencies
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
general/prog/python-dependencies/packaging.xml
r036821b rb50114c 70 70 71 71 <bridgehead renderas="sect5">Required</bridgehead> 72 <para role=" optional">72 <para role="required"> 73 73 <xref linkend="pyparsing"/> 74 74 </para> -
general/prog/python-dependencies/pyparsing.xml
r036821b rb50114c 5 5 %general-entities; 6 6 7 <!ENTITY pyparsing-download-http "https://github.com/pypa /pyparsing/releases/download/&pyparsing-version;/pyparsing-&pyparsing-version;.tar.gz">7 <!ENTITY pyparsing-download-http "https://github.com/pyparsing/pyparsing/releases/download/pyparsing_&pyparsing-version;/pyparsing-&pyparsing-version;.tar.gz"> 8 8 <!ENTITY pyparsing-download-ftp " "> 9 <!ENTITY pyparsing-md5sum " e713c1939f294fd729af4a7be40dd141">10 <!ENTITY pyparsing-size " 83 KB">9 <!ENTITY pyparsing-md5sum "fadc2f3bf5872bf6310576a86c3566e0"> 10 <!ENTITY pyparsing-size "1.9 MB"> 11 11 <!ENTITY pyparsing-buildsize "2.6 MB"> 12 12 <!ENTITY pyparsing-time "less than 0.1 SBU"> … … 15 15 <sect2 id="pyparsing" xreflabel="pyparsing-&pyparsing-version;"> 16 16 17 <title> Packaging-&pyparsing-version;</title>17 <title>pyparsing-&pyparsing-version;</title> 18 18 19 19 <indexterm zone="pyparsing"> … … 22 22 23 23 <sect3 role="package"> 24 <title>Introduction to Packaging Module</title>24 <title>Introduction to pyparsing Module</title> 25 25 26 26 <para> 27 The <application>Packaging</application> library provides utilities 28 that implement the interoperability specifications which have clearly 29 one correct behaviour or benefit greatly from having a single shared 30 implementation. 27 The <application>pyparsing</application> module is an alternative 28 approach to creating and executing simple grammars, vs. the 29 traditional lex/yacc approach, or the use of regular expressions. 30 It provides a library of classes that client code uses to construct 31 the grammar directly in Python code. 31 32 </para> 32 33 … … 67 68 </itemizedlist> 68 69 69 <bridgehead renderas="sect4"> Packaging Dependencies</bridgehead>70 <bridgehead renderas="sect4">pyparsing Dependencies</bridgehead> 70 71 71 72 <bridgehead renderas="sect5">Required</bridgehead> 73 <para role="required"> 74 <xref linkend="flit_core"/> 75 </para> 76 77 <bridgehead renderas="sect5">Optional</bridgehead> 72 78 <para role="optional"> 73 <xref linkend="pyparsing"/> 79 <xref linkend="Jinja2"/> and 80 <ulink url="https://pypi.org/project/railroad-diagrams/">railroad-diagrams</ulink> 74 81 </para> 75 82 … … 77 84 78 85 <sect3 role="installation"> 79 <title>Installation of Packaging</title>86 <title>Installation of pyparsing</title> 80 87 81 88 <para> Build the module: </para> -
general/prog/python-dependencies/pytz.xml
r036821b rb50114c 5 5 %general-entities; 6 6 7 <!ENTITY pytz-download-http "https://github.com/ pypa/pytz/releases/download/&pytz-version;/pytz-&pytz-version;.tar.gz">7 <!ENTITY pytz-download-http "https://github.com/stub42/pytz/archive/refs/tags/release_&pytz-version;/pytz-&pytz-version;.tar.gz"> 8 8 <!ENTITY pytz-download-ftp " "> 9 <!ENTITY pytz-md5sum " e713c1939f294fd729af4a7be40dd141">10 <!ENTITY pytz-size " 83KB">9 <!ENTITY pytz-md5sum "855307f8455430a3375946970a2177cc"> 10 <!ENTITY pytz-size "606 KB"> 11 11 <!ENTITY pytz-buildsize "2.6 MB"> 12 12 <!ENTITY pytz-time "less than 0.1 SBU"> … … 15 15 <sect2 id="pytz" xreflabel="pytz-&pytz-version;"> 16 16 17 <title>P ackaging-&pytz-version;</title>17 <title>Pytz-&pytz-version;</title> 18 18 19 19 <indexterm zone="pytz"> … … 22 22 23 23 <sect3 role="package"> 24 <title>Introduction to P ackagingModule</title>24 <title>Introduction to Pytz Module</title> 25 25 26 26 <para> 27 The <application>Packaging</application> library provides utilities 28 that implement the interoperability specifications which have clearly 29 one correct behaviour or benefit greatly from having a single shared 30 implementation. 27 The <application>Pytz</application> library brings the IANA tz database 28 into Python. It allows acuurate and cross-platform timezone 29 calculations. 31 30 </para> 32 31 … … 67 66 </itemizedlist> 68 67 69 <bridgehead renderas="sect4">P ackaging Dependencies</bridgehead>68 <bridgehead renderas="sect4">Pytz dependencies</bridgehead> 70 69 71 <bridgehead renderas="sect5">Re quired</bridgehead>72 <para role=" optional">73 <xref linkend=" pyparsing"/>70 <bridgehead renderas="sect5">Recommended</bridgehead> 71 <para role="recommended"> 72 <xref linkend="rsync"/> (used in the build instructions) 74 73 </para> 75 74 … … 77 76 78 77 <sect3 role="installation"> 79 <title>Installation of P ackaging</title>78 <title>Installation of Pytz</title> 80 79 81 <para> Build the module: </para> 80 <para> 81 Before building the python wheel, the timezone database has to 82 be compiled: 83 </para> 82 84 83 <screen><userinput>pip3 wheel -w dist --no-build-isolation --no-deps $PWD</userinput></screen> 85 <screen><userinput>make -C tz \ 86 ZFLAGS='-b fat' \ 87 PACKRATDATA= \ 88 TOPDIR=$(pwd)/build \ 89 USRDIR= \ 90 USRSHAREDIR=etc \ 91 install && 84 92 85 <para> 86 This package does not come with a test suite. 87 </para> 93 for d in zoneinfo zoneinfo-leaps zoneinfo-posix; do \ 94 rsync -a $(pwd)/build/etc/$d/ $(pwd)/build/etc/$d.tmp && 95 rm -rf $(pwd)/build/etc/$d && 96 mv $(pwd)/build/etc/$d.tmp $(pwd)/build/etc/$d 97 done && 88 98 89 <para> 90 Now, as the <systemitem class="username">root</systemitem> user: 91 </para> 99 python3 gen_tzinfo.py && 100 cp -a build/etc/zoneinfo build/dist/pytz/zoneinfo</userinput></screen> 101 102 <para> 103 Build the module: 104 </para> 105 106 <screen><userinput>cd build/dist && 107 pip3 wheel -w dist --no-build-isolation --no-deps $PWD</userinput></screen> 108 109 <para> 110 This package does not come with a test suite. 111 </para> 112 113 <para> 114 Now, as the <systemitem class="username">root</systemitem> user: 115 </para> 92 116 93 117 <screen role="root"><userinput>pip3 install --no-index --find-links dist --no-cache-dir --no-user pytz</userinput></screen>
Note:
See TracChangeset
for help on using the changeset viewer.