1 | # -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4 |
---|
2 | |
---|
3 | PortSystem 1.0 |
---|
4 | |
---|
5 | name py-bootstrap-modules |
---|
6 | version 2024-02-13 |
---|
7 | revision 0 |
---|
8 | maintainers {jmr @jmroot} |
---|
9 | categories python |
---|
10 | license MIT |
---|
11 | supported_archs noarch |
---|
12 | platforms any |
---|
13 | |
---|
14 | description bootstrap PEP 517 module builds |
---|
15 | |
---|
16 | long_description This is a set of Python modules that are needed \ |
---|
17 | to do PEP 517 building and wheel installation. \ |
---|
18 | They have to be installed together to enable \ |
---|
19 | bootstrapping, because of circular dependencies. |
---|
20 | |
---|
21 | homepage https://www.macports.org/ |
---|
22 | |
---|
23 | set build_vers 1.0.3 |
---|
24 | set flit_core_vers 3.9.0 |
---|
25 | set installer_vers 0.7.0 |
---|
26 | set packaging_vers 23.2 |
---|
27 | set pep517_vers 0.13.0 |
---|
28 | set pyparsing_vers 3.1.1 |
---|
29 | set python-install_vers 0.0.3 |
---|
30 | set setuptools_scm_vers 8.0.4 |
---|
31 | set tomli_vers 2.0.1 |
---|
32 | set wheel_vers 0.42.0 |
---|
33 | |
---|
34 | master_sites pypi:b/build:build \ |
---|
35 | pypi:f/flit_core:flit_core \ |
---|
36 | pypi:i/installer:installer \ |
---|
37 | pypi:p/packaging:packaging \ |
---|
38 | pypi:p/pep517:pep517 \ |
---|
39 | pypi:p/pyparsing:pyparsing \ |
---|
40 | pypi:p/python-install:install \ |
---|
41 | pypi:s/setuptools_scm:setuptools_scm \ |
---|
42 | pypi:t/tomli:tomli \ |
---|
43 | pypi:w/wheel:wheel |
---|
44 | |
---|
45 | distfiles build-${build_vers}.tar.gz:build \ |
---|
46 | flit_core-${flit_core_vers}.tar.gz:flit_core \ |
---|
47 | installer-${installer_vers}.tar.gz:installer \ |
---|
48 | packaging-${packaging_vers}.tar.gz:packaging \ |
---|
49 | pep517-${pep517_vers}.tar.gz:pep517 \ |
---|
50 | pyparsing-${pyparsing_vers}.tar.gz:pyparsing \ |
---|
51 | python-install-${python-install_vers}.tar.gz:install \ |
---|
52 | setuptools-scm-${setuptools_scm_vers}.tar.gz:setuptools_scm \ |
---|
53 | tomli-${tomli_vers}.tar.gz:tomli \ |
---|
54 | wheel-${wheel_vers}.tar.gz:wheel |
---|
55 | |
---|
56 | checksums build-${build_vers}.tar.gz \ |
---|
57 | md5 45f216f02135c6acb486ba325e8f8da3 \ |
---|
58 | rmd160 057ba87fa7012e52bd7617fc15d8954b80b8b125 \ |
---|
59 | sha256 538aab1b64f9828977f84bc63ae570b060a8ed1be419e7870b8b4fc5e6ea553b \ |
---|
60 | size 40797 \ |
---|
61 | flit_core-3.9.0.tar.gz \ |
---|
62 | md5 3bc52f1952b9a78361114147da63c35b \ |
---|
63 | rmd160 78d21c84e0922e6e7a136735d807be2942e38124 \ |
---|
64 | sha256 72ad266176c4a3fcfab5f2930d76896059851240570ce9a98733b658cb786eba \ |
---|
65 | size 41917 \ |
---|
66 | installer-0.7.0.tar.gz \ |
---|
67 | md5 d961d1105c9270049528b1167ed021bc \ |
---|
68 | rmd160 ce7feaab4cab0fe465e6a5fe142bc32dcdd1e938 \ |
---|
69 | sha256 a26d3e3116289bb08216e0d0f7d925fcef0b0194eedfa0c944bcaaa106c4b631 \ |
---|
70 | size 474349 \ |
---|
71 | packaging-23.2.tar.gz \ |
---|
72 | md5 d54eeff8c7ca86980528f4132f258d54 \ |
---|
73 | rmd160 03c80dfdca845d7967148b68429019159360c270 \ |
---|
74 | sha256 048fb0e9405036518eaaf48a55953c750c11e1a1b68e0dd1a9d62ed0c092cfc5 \ |
---|
75 | size 146714 \ |
---|
76 | pep517-0.13.0.tar.gz \ |
---|
77 | md5 7fd08b11215256601a8a4940c1ba3d34 \ |
---|
78 | rmd160 b52f92cb3a3d6d8ae6892f8df4c144eb2c698e49 \ |
---|
79 | sha256 ae69927c5c172be1add9203726d4b84cf3ebad1edcd5f71fcdc746e66e829f59 \ |
---|
80 | size 25798 \ |
---|
81 | pyparsing-3.1.1.tar.gz \ |
---|
82 | md5 bb8c8c6b8015ca5887ae2c37917ee82e \ |
---|
83 | rmd160 e940832a430965c7026176ee0316345be43b3bb3 \ |
---|
84 | sha256 ede28a1a32462f5a9705e07aea48001a08f7cf81a021585011deba701581a0db \ |
---|
85 | size 884814 \ |
---|
86 | python-install-0.0.3.tar.gz \ |
---|
87 | md5 c591174ae1f14c05ddcc84483381aa7e \ |
---|
88 | rmd160 203ac0ef46cfcfb6e531548a50cc5a05deb9f049 \ |
---|
89 | sha256 926f9e0cb959203629ba6ffdc889f96e1a075c36ca6e7528ba7be96ade189a7d \ |
---|
90 | size 13439 \ |
---|
91 | setuptools-scm-8.0.4.tar.gz \ |
---|
92 | md5 a05e98ab9ae447e173f0c747e0d49e81 \ |
---|
93 | rmd160 78275eaa3199a58a0fb142e5177859934ab99871 \ |
---|
94 | sha256 b5f43ff6800669595193fd09891564ee9d1d7dcb196cab4b2506d53a2e1c95c7 \ |
---|
95 | size 74280 \ |
---|
96 | tomli-2.0.1.tar.gz \ |
---|
97 | md5 d4341621d423a7ca6822e23d6d52bb9a \ |
---|
98 | rmd160 08391b8bdece5ba4b13e0e67e0bb3f0a3de9cc55 \ |
---|
99 | sha256 de526c12914f0c550d15924c62d72abc48d6fe7364aa87328337a31007fe8a4f \ |
---|
100 | size 15164 \ |
---|
101 | wheel-0.42.0.tar.gz \ |
---|
102 | md5 802ad6e5f9336fcb1c76b7593f0cd22d \ |
---|
103 | rmd160 25c120a08158cb9c9d642a6a900e49dab44b0c12 \ |
---|
104 | sha256 c45be39f7882c9d34243236f2d63cbd58039e360f85d0913425fbd7ceea617a8 \ |
---|
105 | size 98667 |
---|
106 | |
---|
107 | patch { |
---|
108 | system -W ${workpath}/flit_core-${flit_core_vers} "patch -p0 < ${filespath}/zip-timestamps.patch" |
---|
109 | system -W ${workpath}/python-install-${python-install_vers} "patch -p0 < ${filespath}/patch-install-__init__.py.diff" |
---|
110 | system -W ${workpath}/python-install-${python-install_vers} "patch -p0 < ${filespath}/installer_scripts.py.patch" |
---|
111 | } |
---|
112 | |
---|
113 | use_configure no |
---|
114 | build {} |
---|
115 | destroot { |
---|
116 | set instdir ${prefix}/share/${subport} |
---|
117 | xinstall -d ${destroot}${instdir} |
---|
118 | copy ${workpath}/build-${build_vers}/src/build \ |
---|
119 | ${workpath}/flit_core-${flit_core_vers}/flit_core \ |
---|
120 | ${workpath}/installer-${installer_vers}/src/installer \ |
---|
121 | ${workpath}/packaging-${packaging_vers}/src/packaging \ |
---|
122 | ${workpath}/pep517-${pep517_vers}/pep517 \ |
---|
123 | ${workpath}/pyparsing-${pyparsing_vers}/pyparsing \ |
---|
124 | ${workpath}/python-install-${python-install_vers}/install \ |
---|
125 | ${workpath}/python-install-${python-install_vers}/python_install.egg-info \ |
---|
126 | ${workpath}/setuptools-scm-${setuptools_scm_vers}/src/setuptools_scm \ |
---|
127 | ${workpath}/setuptools-scm-${setuptools_scm_vers}/src/setuptools_scm.egg-info \ |
---|
128 | ${workpath}/tomli-${tomli_vers}/src/tomli \ |
---|
129 | ${workpath}/wheel-${wheel_vers}/src/wheel \ |
---|
130 | ${destroot}${instdir} |
---|
131 | foreach pkg {flit_core installer pep517 pyparsing tomli} { |
---|
132 | xinstall -d ${destroot}${instdir}/${pkg}.egg-info |
---|
133 | xinstall -m 644 ${workpath}/${pkg}-[set ${pkg}_vers]/PKG-INFO ${destroot}${instdir}/${pkg}.egg-info/PKG-INFO |
---|
134 | } |
---|
135 | } |
---|
136 | |
---|
137 | livecheck.type none |
---|