Changeset 25ee667 for general/prog/python-modules
- Timestamp:
- 10/13/2022 02:49:28 PM (20 months ago)
- Branches:
- 11.3, 12.0, 12.1, 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/llvm18, xry111/xf86-video-removal
- Children:
- db3bdfc6
- Parents:
- 2a0f15bc
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
general/prog/python-modules/pytest.xml
r2a0f15bc r25ee667 5 5 %general-entities; 6 6 7 <!ENTITY pytest-download-http "https:// files.pythonhosted.org/packages/source/a/pytest/pytest-&pytest-version;.tar.gz">7 <!ENTITY pytest-download-http "https://github.com/pytest-dev/pytest/archive/refs/tags/&pytest-version;/pytest-&pytest-version;.tar.gz"> 8 8 <!ENTITY pytest-download-ftp " "> 9 <!ENTITY pytest-md5sum " ecac3af818f7a65596efc6e243b520a0">10 <!ENTITY pytest-size " 212 KB">9 <!ENTITY pytest-md5sum "d9e98570d8b8822af4b39576f8f86abc"> 10 <!ENTITY pytest-size "1.2 MB"> 11 11 <!ENTITY pytest-buildsize "2.6 MB"> 12 12 <!ENTITY pytest-time "less than 0.1 SBU"> 13 13 ]> 14 14 15 <!-- Begin Py3c -->16 15 <sect2 id="pytest" xreflabel="pytest-&pytest-version;"> 17 16 18 <title> Asciidoc-&pytest-version;</title>17 <title>Pytest-&pytest-version;</title> 19 18 20 19 <indexterm zone="pytest"> … … 23 22 24 23 <sect3 role="package"> 25 <title>Introduction to AsciidocModule</title>24 <title>Introduction to Pytest Module</title> 26 25 27 26 <para> 28 The <application>Asciidoc</application> package is a text document 29 format for writing notes, documentation, articles, books, ebooks, 30 slideshows, web pages, man pages and blogs. AsciiDoc files can be 31 translated to many formats including HTML, PDF, EPUB, and man page. 27 The <application>Pytest</application> framework makes it easy to 28 write small, readable tests, and can scale to support complex 29 functional testing for applications and libraries. 32 30 </para> 33 31 … … 68 66 </itemizedlist> 69 67 70 <bridgehead renderas="sect4">Asciidoc Dependencies</bridgehead> 68 <bridgehead renderas="sect4">Pytest Dependencies</bridgehead> 69 70 <bridgehead renderas="sect5">Required</bridgehead> 71 <para role="required"> 72 <xref linkend="attrs"/>, 73 <xref linkend="iniconfig"/>, 74 <xref linkend="packaging"/>, 75 <xref linkend="pluggy"/>, 76 <xref linkend="py"/>, and 77 <xref linkend="tomli"/> 78 </para> 79 80 <bridgehead renderas="sect5">Recommended</bridgehead> 81 <para role="recommended"> 82 <xref linkend="setuptools_scm"/> 83 </para> 71 84 72 85 <bridgehead renderas="sect5">Optional (runtime)</bridgehead> … … 83 96 84 97 <sect3 role="installation"> 85 <title>Installation of Asciidoc</title> 86 <!-- version 9.x is from blfs 11.0. We are now at 11.1 87 <para> 88 If you are upgrading from version 9.x, remove the previously installed 89 executables, as the <systemitem class="username">root</systemitem> 90 user: 91 </para> 98 <title>Installation of Pytest</title> 92 99 93 <screen role="root"><userinput>rm -rf /usr/bin/{pytest*,a2x*}</userinput></screen> 94 --> 95 <para> Build the module: </para> 100 <para> Build the module: </para> 96 101 97 102 <screen><userinput>pip3 wheel -w dist --no-build-isolation --no-deps $PWD</userinput></screen> 98 103 99 <para>100 This package does not come with a test suite.101 </para>104 <para> 105 This package does not come with a test suite. 106 </para> 102 107 103 <para>104 Now, as the <systemitem class="username">root</systemitem> user:105 </para>108 <para> 109 Now, as the <systemitem class="username">root</systemitem> user: 110 </para> 106 111 107 112 <screen role="root"><userinput>pip3 install --no-index --find-links dist --no-cache-dir --no-user pytest</userinput></screen> … … 122 127 <seglistitem> 123 128 <seg> 124 a2x and125 129 pytest 126 130 </seg>
Note:
See TracChangeset
for help on using the changeset viewer.