File: pyproject.toml

package info (click to toggle)
python-ezsnmp 1.1.0-2.1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 11,280 kB
  • sloc: cpp: 3,746; python: 1,987; javascript: 1,110; makefile: 17; sh: 12
file content (49 lines) | stat: -rw-r--r-- 1,993 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
[tool.cibuildwheel]
manylinux-x86_64-image = "manylinux2014"
skip = "cp27-* cp36-* cp37-* cp38-* pp27-* pp36-* pp37-* pp38-*"

[[tool.cibuildwheel.overrides]]
select = "*manylinux_2_24*"
before-all = """apt-get --assume-yes install wget unzip;
                wget https://sourceforge.net/projects/net-snmp/files/net-snmp/5.9.4/net-snmp-5.9.4.zip/download;
                unzip download;
                cd net-snmp-5.9.4;
                ./configure --with-defaults --disable-mibs --disable-manual --without-perl-modules --disable-embedded-perl;
                make;
                make install;"""

[[tool.cibuildwheel.overrides]]
select = "*musllinux*"
before-all = "apk add net-snmp-dev;"

[tool.cibuildwheel.linux]
before-all = """yum -y install wget;
                wget https://sourceforge.net/projects/net-snmp/files/net-snmp/5.9.4/net-snmp-5.9.4.zip/download ;
                unzip download;
                cd net-snmp-5.9.4;
                ./configure --with-defaults --disable-mibs --disable-manual --without-perl-modules --disable-embedded-perl;
                make ;
                make install ;"""

[tool.cibuildwheel.macos]
before-all = """mkdir -p $HOME/opt/mports;
          cd $HOME/opt/mports;
          wget https://github.com/macports/macports-base/releases/download/v2.10.1/MacPorts-2.10.1.tar.gz;
          tar -xzvf MacPorts-2.10.1.tar.gz;
          cd $HOME/opt/mports/MacPorts-2.10.1;
          ./configure --prefix=$HOME/opt/local --with-install-user=`id -un` --with-install-group=`id -gn`;
          make;
          make install;
          make distclean;
          export PATH=$HOME/opt/local/bin:$HOME/opt/local/sbin:$PATH;
          port selfupdate;
          port clean net-snmp openssl;
          port install net-snmp openssl;"""
repair-wheel-command = "delocate-wheel --require-archs {delocate_archs} -w {dest_dir} -v {wheel}"

[build-system]
build-backend = "setuptools.build_meta"
requires = [
    "setuptools == 72.1.0",
    "wheel == 0.43.0",
]