diff --git a/build.sh b/build.sh index 391242f5853e8eb0b6a6b8bcc8e87f1d648e9291..240cedfe8abf22006e6a9a6cbf4b7e3b4e0dc3b1 100755 --- a/build.sh +++ b/build.sh @@ -1,4 +1,7 @@ #!/bin/sh -ex virtualenv --python=python3.11 v +apt-get install -y gnutls-bin +git config --global http.sslVerify false +git config --global http.postBuffer 1048576000 v/bin/pip install -r requirements.txt diff --git a/debian/control b/debian/control index 7d13282da3eeb246c0f96cc1de780ade09d53b57..05558e00be47660794a9f196b9a8cb264fc6ba1f 100644 --- a/debian/control +++ b/debian/control @@ -7,193 +7,193 @@ Standards-Version: 4.4.0 Homepage: https://truenas.com Package: python3-acme -Architecture: amd64 +Architecture: arm64 Depends: python3-certifi (>= 2017.4.17), python3-cffi (>= 1.12), python3-charset-normalizer (<< 4), python3-charset-normalizer (>= 2), python3-cryptography (>= 3.2.1), python3-idna (<< 4), python3-idna (>= 2.5), python3-josepy (>= 1.13.0), python3-openssl (>= 17.5.0), python3-pycparser, python3-pyrfc3339, python3-requests (>= 2.20.0), python3-setuptools (>= 41.6.0), python3-tz (>= 2019.3), python3-urllib3 (<< 1.27), python3-urllib3 (>= 1.21.1) Description: Acme for Python Acme is a acme library for for Python. Package: python3-aiorwlock -Architecture: amd64 +Architecture: arm64 Depends: Description: Aiorwlock for Python Aiorwlock is a aiorwlock library for for Python. Package: python3-asyncssh -Architecture: amd64 +Architecture: arm64 Depends: python3-cffi (>= 1.12), python3-cryptography (>= 3.1), python3-pycparser, python3-typing-extensions (>= 3.6) Description: Asyncssh for Python Asyncssh is a asyncssh library for for Python. Package: python3-attr -Architecture: amd64 +Architecture: arm64 Depends: Description: Attrs for Python Attrs is a attrs library for for Python. Package: python3-aws-requests-auth -Architecture: amd64 +Architecture: arm64 Depends: python3-certifi (>= 2017.4.17), python3-charset-normalizer (<< 4), python3-charset-normalizer (>= 2), python3-idna (<< 4), python3-idna (>= 2.5), python3-requests (>= 0.14.0), python3-urllib3 (<< 1.27), python3-urllib3 (>= 1.21.1) Description: Aws-Requests-Auth for Python Aws-Requests-Auth is a aws-requests-auth library for for Python. Package: python3-boto3 -Architecture: amd64 +Architecture: arm64 Depends: python3-botocore (<< 1.32.0), python3-botocore (>= 1.31.3), python3-dateutil (<< 3.0.0), python3-dateutil (>= 2.1), python3-jmespath (<< 2.0.0), python3-jmespath (>= 0.7.1), python3-s3transfer (<< 0.7.0), python3-s3transfer (>= 0.6.0), python3-six (>= 1.5), python3-urllib3 (<< 1.27), python3-urllib3 (>= 1.25.4) Description: Boto3 for Python Boto3 is a boto3 library for for Python. Package: python3-botocore -Architecture: amd64 +Architecture: arm64 Depends: python3-dateutil (<< 3.0.0), python3-dateutil (>= 2.1), python3-jmespath (<< 2.0.0), python3-jmespath (>= 0.7.1), python3-six (>= 1.5), python3-urllib3 (<< 1.27), python3-urllib3 (>= 1.25.4) Description: Botocore for Python Botocore is a botocore library for for Python. Package: python3-certbot -Architecture: amd64 +Architecture: arm64 Depends: python3-acme (>= 2.6.0), python3-certifi (>= 2017.4.17), python3-cffi (>= 1.12), python3-charset-normalizer (<< 4), python3-charset-normalizer (>= 2), python3-configargparse (>= 0.9.3), python3-configobj (>= 5.0.6), python3-cryptography (>= 3.2.1), python3-distro (>= 1.0.1), python3-idna (<< 4), python3-idna (>= 2.5), python3-josepy (>= 1.13.0), python3-openssl (>= 17.5.0), python3-parsedatetime (>= 2.4), python3-pycparser, python3-pyrfc3339, python3-requests (>= 2.20.0), python3-setuptools (>= 41.6.0), python3-six, python3-tz (>= 2019.3), python3-urllib3 (<< 1.27), python3-urllib3 (>= 1.21.1) Description: Certbot for Python Certbot is a certbot library for for Python. Package: python3-certbot-dns-cloudflare -Architecture: amd64 +Architecture: arm64 Depends: python3-acme (>= 2.6.0), python3-attr (>= 19.2.0), python3-bs4, python3-certbot (>= 2.6.0), python3-certifi (>= 2017.4.17), python3-cffi (>= 1.12), python3-charset-normalizer (<< 4), python3-charset-normalizer (>= 2), python3-cloudflare (>= 1.5.1), python3-configargparse (>= 0.9.3), python3-configobj (>= 5.0.6), python3-cryptography (>= 3.2.1), python3-distro (>= 1.0.1), python3-idna (<< 4), python3-idna (>= 2.5), python3-josepy (>= 1.13.0), python3-jsonlines, python3-openssl (>= 17.5.0), python3-parsedatetime (>= 2.4), python3-pycparser, python3-pyrfc3339, python3-requests (>= 2.20.0), python3-setuptools (>= 41.6.0), python3-six, python3-soupsieve (>>1.2), python3-tz (>= 2019.3), python3-urllib3 (<< 1.27), python3-urllib3 (>= 1.21.1), python3-yaml Description: Certbot-Dns-Cloudflare for Python Certbot-Dns-Cloudflare is a certbot-dns-cloudflare library for for Python. Package: python3-certbot-dns-digitalocean -Architecture: amd64 +Architecture: arm64 Depends: python3-acme (>= 2.6.0), python3-certbot (>= 2.6.0), python3-certifi (>= 2017.4.17), python3-cffi (>= 1.12), python3-charset-normalizer (<< 4), python3-charset-normalizer (>= 2), python3-configargparse (>= 0.9.3), python3-configobj (>= 5.0.6), python3-cryptography (>= 3.2.1), python3-digitalocean (>= 1.11), python3-distro (>= 1.0.1), python3-idna (<< 4), python3-idna (>= 2.5), python3-josepy (>= 1.13.0), python3-jsonpickle, python3-openssl (>= 17.5.0), python3-parsedatetime (>= 2.4), python3-pycparser, python3-pyrfc3339, python3-requests (>= 2.20.0), python3-setuptools (>= 41.6.0), python3-six, python3-tz (>= 2019.3), python3-urllib3 (<< 1.27), python3-urllib3 (>= 1.21.1) Description: Certbot-Dns-Digitalocean for Python Certbot-Dns-Digitalocean is a certbot-dns-digitalocean library for for Python. Package: python3-certbot-dns-google -Architecture: amd64 +Architecture: arm64 Depends: python3-acme (>= 2.6.0), python3-cachetools (<< 6.0), python3-cachetools (>= 2.0.0), python3-certbot (>= 2.6.0), python3-certifi (>= 2017.4.17), python3-cffi (>= 1.12), python3-charset-normalizer (<< 4), python3-charset-normalizer (>= 2), python3-configargparse (>= 0.9.3), python3-configobj (>= 5.0.6), python3-cryptography (>= 3.2.1), python3-distro (>= 1.0.1), python3-google-api-core (<< 3.0.0.dev0), python3-google-api-core (>= 1.31.5), python3-google-auth (>= 2.16.0), python3-google-auth-httplib2 (>= 0.1.0), python3-googleapi (>= 1.6.5), python3-googleapis-common-protos (<< 2.0.dev0), python3-googleapis-common-protos (>= 1.56.2), python3-httplib2 (<< 1.dev0), python3-httplib2 (>= 0.15.0), python3-idna (<< 4), python3-idna (>= 2.5), python3-josepy (>= 1.13.0), python3-openssl (>= 17.5.0), python3-parsedatetime (>= 2.4), python3-protobuf (<< 5.0.0.dev0), python3-protobuf (>= 3.19.5), python3-pyasn1 (<< 0.6.0), python3-pyasn1 (>= 0.4.6), python3-pyasn1-modules (>= 0.2.1), python3-pycparser, python3-pyparsing (<< 4), python3-pyparsing (>= 2.4.2), python3-pyrfc3339, python3-requests (>= 2.20.0), python3-rsa (<< 5), python3-rsa (>= 3.1.4), python3-setuptools (>= 41.6.0), python3-six (>= 1.9.0), python3-tz (>= 2019.3), python3-uritemplate (<< 5), python3-uritemplate (>= 3.0.1), python3-urllib3 (<< 2.0) Description: Certbot-Dns-Google for Python Certbot-Dns-Google is a certbot-dns-google library for for Python. Package: python3-certbot-dns-ovh -Architecture: amd64 +Architecture: arm64 Depends: python3-acme (>= 2.6.0), python3-bs4 (>= 4), python3-certbot (>= 2.6.0), python3-certifi (>= 2017.4.17), python3-cffi (>= 1.12), python3-charset-normalizer (<< 4), python3-charset-normalizer (>= 2), python3-configargparse (>= 0.9.3), python3-configobj (>= 5.0.6), python3-cryptography (>= 3.2.1), python3-distro (>= 1.0.1), python3-dns-lexicon (>= 3.2.1), python3-filelock (>= 3.0.8), python3-idna (<< 4), python3-idna (>= 2.5), python3-importlib-metadata (>= 4), python3-josepy (>= 1.13.0), python3-openssl (>= 17.5.0), python3-parsedatetime (>= 2.4), python3-pycparser, python3-pyrfc3339, python3-requests (>= 2.20.0), python3-requests-file (>= 1.4), python3-setuptools (>= 41.6.0), python3-six, python3-soupsieve (>>1.2), python3-tldextract (>= 2), python3-tz (>= 2019.3), python3-urllib3 (<< 1.27), python3-urllib3 (>= 1.21.1), python3-yaml (>= 3), python3-zipp (>= 0.5) Description: Certbot-Dns-Ovh for Python Certbot-Dns-Ovh is a certbot-dns-ovh library for for Python. Package: python3-cloudflare -Architecture: amd64 +Architecture: arm64 Depends: python3-attr (>= 19.2.0), python3-bs4, python3-certifi (>= 2017.4.17), python3-charset-normalizer (<< 4), python3-charset-normalizer (>= 2), python3-idna (<< 4), python3-idna (>= 2.5), python3-jsonlines, python3-requests, python3-soupsieve (>>1.2), python3-urllib3 (<< 1.27), python3-urllib3 (>= 1.21.1), python3-yaml Description: Cloudflare for Python Cloudflare is a cloudflare library for for Python. Package: python3-container-runtime-interface-api -Architecture: amd64 +Architecture: arm64 Depends: python3-grpcio (>= 1.39), python3-protobuf (>= 3.17) Description: Container-Runtime-Interface-Api for Python Container-Runtime-Interface-Api is a container-runtime-interface-api library for for Python. Package: python3-dns-lexicon -Architecture: amd64 +Architecture: arm64 Depends: python3-bs4 (>= 4), python3-certifi (>= 2017.4.17), python3-cffi (>= 1.12), python3-charset-normalizer (<< 4), python3-charset-normalizer (>= 2), python3-cryptography (>= 2), python3-filelock (>= 3.0.8), python3-idna (<< 4), python3-idna (>= 2.5), python3-importlib-metadata (>= 4), python3-pycparser, python3-requests (>= 2), python3-requests-file (>= 1.4), python3-six, python3-soupsieve (>>1.2), python3-tldextract (>= 2), python3-urllib3 (<< 1.27), python3-urllib3 (>= 1.21.1), python3-yaml (>= 3), python3-zipp (>= 0.5) Description: Dns-Lexicon for Python Dns-Lexicon is a dns-lexicon library for for Python. Package: python3-google-api -Architecture: amd64 +Architecture: arm64 Depends: python3-appier Description: Google-Api for Python Google-Api is a google-api library for for Python. Package: python3-google-api-core -Architecture: amd64 +Architecture: arm64 Depends: python3-cachetools (<< 6.0), python3-cachetools (>= 2.0.0), python3-certifi (>= 2017.4.17), python3-charset-normalizer (<< 4), python3-charset-normalizer (>= 2), python3-google-auth (<< 3.0.dev0), python3-google-auth (>= 2.14.1), python3-googleapis-common-protos (<< 2.0.dev0), python3-googleapis-common-protos (>= 1.56.2), python3-idna (<< 4), python3-idna (>= 2.5), python3-protobuf (<< 5.0.0.dev0), python3-protobuf (>= 3.19.5), python3-pyasn1 (<< 0.6.0), python3-pyasn1 (>= 0.4.6), python3-pyasn1-modules (>= 0.2.1), python3-requests (<< 3.0.0.dev0), python3-requests (>= 2.18.0), python3-rsa (<< 5), python3-rsa (>= 3.1.4), python3-six (>= 1.9.0), python3-urllib3 (<< 2.0) Description: Google-Api-Core for Python Google-Api-Core is a google-api-core library for for Python. Package: python3-googleapi -Architecture: amd64 +Architecture: arm64 Depends: python3-cachetools (<< 6.0), python3-cachetools (>= 2.0.0), python3-certifi (>= 2017.4.17), python3-charset-normalizer (<< 4), python3-charset-normalizer (>= 2), python3-google-api-core (<< 3.0.0.dev0), python3-google-api-core (>= 1.31.5), python3-google-auth (<< 3.0.0.dev0), python3-google-auth (>= 1.19.0), python3-google-auth-httplib2 (>= 0.1.0), python3-googleapis-common-protos (<< 2.0.dev0), python3-googleapis-common-protos (>= 1.56.2), python3-httplib2 (<< 1.dev0), python3-httplib2 (>= 0.15.0), python3-idna (<< 4), python3-idna (>= 2.5), python3-protobuf (<< 5.0.0.dev0), python3-protobuf (>= 3.19.5), python3-pyasn1 (<< 0.6.0), python3-pyasn1 (>= 0.4.6), python3-pyasn1-modules (>= 0.2.1), python3-pyparsing (<< 4), python3-pyparsing (>= 2.4.2), python3-requests (<< 3.0.0.dev0), python3-requests (>= 2.18.0), python3-rsa (<< 5), python3-rsa (>= 3.1.4), python3-six (>= 1.9.0), python3-uritemplate (<< 5), python3-uritemplate (>= 3.0.1), python3-urllib3 (<< 2.0) Description: Google-Api-Python-Client for Python Google-Api-Python-Client is a google-api-python-client library for for Python. Package: python3-googleapis-common-protos -Architecture: amd64 +Architecture: arm64 Depends: python3-protobuf (<< 5.0.0.dev0), python3-protobuf (>= 3.19.5) Description: Googleapis-Common-Protos for Python Googleapis-Common-Protos is a googleapis-common-protos library for for Python. Package: python3-google-auth -Architecture: amd64 +Architecture: arm64 Depends: python3-cachetools (<< 6.0), python3-cachetools (>= 2.0.0), python3-pyasn1 (<< 0.6.0), python3-pyasn1 (>= 0.4.6), python3-pyasn1-modules (>= 0.2.1), python3-rsa (<< 5), python3-rsa (>= 3.1.4), python3-six (>= 1.9.0), python3-urllib3 (<< 2.0) Description: Google-Auth for Python Google-Auth is a google-auth library for for Python. Package: python3-google-auth-httplib2 -Architecture: amd64 +Architecture: arm64 Depends: python3-cachetools (<< 6.0), python3-cachetools (>= 2.0.0), python3-google-auth, python3-httplib2 (>= 0.15.0), python3-pyasn1 (<< 0.6.0), python3-pyasn1 (>= 0.4.6), python3-pyasn1-modules (>= 0.2.1), python3-pyparsing (<< 4), python3-pyparsing (>= 2.4.2), python3-rsa (<< 5), python3-rsa (>= 3.1.4), python3-six, python3-urllib3 (<< 2.0) Description: Google-Auth-Httplib2 for Python Google-Auth-Httplib2 is a google-auth-httplib2 library for for Python. Package: python3-ipaddr -Architecture: amd64 +Architecture: arm64 Depends: Description: Ipaddr for Python Ipaddr is a ipaddr library for for Python. Package: python3-jsonlines -Architecture: amd64 +Architecture: arm64 Depends: python3-attr (>= 19.2.0) Description: Jsonlines for Python Jsonlines is a jsonlines library for for Python. Package: python3-pyrfc3339 -Architecture: amd64 +Architecture: arm64 Depends: python3-tz Description: Pyrfc3339 for Python Pyrfc3339 is a pyRFC3339 library for for Python. Package: python3-prompt-toolkit -Architecture: amd64 +Architecture: arm64 Depends: python3-wcwidth Description: Prompt-Toolkit for Python Prompt-Toolkit is a prompt-toolkit library for for Python. Package: python3-pyroute2 -Architecture: amd64 +Architecture: arm64 Depends: Description: Pyroute2 for Python Pyroute2 is a pyroute2 library for for Python. Package: python3-digitalocean -Architecture: amd64 +Architecture: arm64 Depends: python3-certifi (>= 2017.4.17), python3-charset-normalizer (<< 4), python3-charset-normalizer (>= 2), python3-idna (<< 4), python3-idna (>= 2.5), python3-jsonpickle, python3-requests, python3-urllib3 (<< 1.27), python3-urllib3 (>= 1.21.1) Description: Python-Digitalocean for Python Python-Digitalocean is a python-digitalocean library for for Python. Package: python3-pyyaml -Architecture: amd64 +Architecture: arm64 Depends: Description: Pyyaml for Python Pyyaml is a PyYAML library for for Python. Package: python3-remote-pdb -Architecture: amd64 +Architecture: arm64 Depends: Description: Remote-Pdb for Python Remote-Pdb is a remote-pdb library for for Python. Package: python3-s3transfer -Architecture: amd64 +Architecture: arm64 Depends: python3-botocore (<< 2.0a.0), python3-botocore (>= 1.12.36), python3-dateutil (<< 3.0.0), python3-dateutil (>= 2.1), python3-jmespath (<< 2.0.0), python3-jmespath (>= 0.7.1), python3-six (>= 1.5), python3-urllib3 (<< 1.27), python3-urllib3 (>= 1.25.4) Description: S3Transfer for Python S3Transfer is a s3transfer library for for Python. Package: python3-tableprint -Architecture: amd64 +Architecture: arm64 Depends: python3-future, python3-wcwidth Description: Tableprint for Python Tableprint is a tableprint library for for Python. Package: python3-websocket -Architecture: amd64 +Architecture: arm64 Depends: Description: Websocket-Client for Python Websocket-Client is a websocket-client library for for Python. diff --git a/debian/python3-pyyaml.install b/debian/python3-pyyaml.install index 486bcc32fef7650b16206868db839e064589125c..cfd86d7579888959f108ae68e455296b293f19f2 100644 --- a/debian/python3-pyyaml.install +++ b/debian/python3-pyyaml.install @@ -24,7 +24,7 @@ v/lib/python3.11/site-packages/yaml/__pycache__/resolver.cpython-311.pyc usr/lib v/lib/python3.11/site-packages/yaml/__pycache__/scanner.cpython-311.pyc usr/lib/python3/dist-packages/yaml/__pycache__ v/lib/python3.11/site-packages/yaml/__pycache__/serializer.cpython-311.pyc usr/lib/python3/dist-packages/yaml/__pycache__ v/lib/python3.11/site-packages/yaml/__pycache__/tokens.cpython-311.pyc usr/lib/python3/dist-packages/yaml/__pycache__ -v/lib/python3.11/site-packages/yaml/_yaml.cpython-311-x86_64-linux-gnu.so usr/lib/python3/dist-packages/yaml +v/lib/python3.11/site-packages/yaml/_yaml.cpython-311-aarch64-linux-gnu.so usr/lib/python3/dist-packages/yaml v/lib/python3.11/site-packages/yaml/composer.py usr/lib/python3/dist-packages/yaml v/lib/python3.11/site-packages/yaml/constructor.py usr/lib/python3/dist-packages/yaml v/lib/python3.11/site-packages/yaml/cyaml.py usr/lib/python3/dist-packages/yaml @@ -40,4 +40,4 @@ v/lib/python3.11/site-packages/yaml/representer.py usr/lib/python3/dist-packages v/lib/python3.11/site-packages/yaml/resolver.py usr/lib/python3/dist-packages/yaml v/lib/python3.11/site-packages/yaml/scanner.py usr/lib/python3/dist-packages/yaml v/lib/python3.11/site-packages/yaml/serializer.py usr/lib/python3/dist-packages/yaml -v/lib/python3.11/site-packages/yaml/tokens.py usr/lib/python3/dist-packages/yaml \ No newline at end of file +v/lib/python3.11/site-packages/yaml/tokens.py usr/lib/python3/dist-packages/yaml diff --git a/generate.py b/generate.py index f92b62a886405a9788652b8185ebc71c46264315..ac52bf0eab6e59c00099520b53df6a15d499894a 100644 --- a/generate.py +++ b/generate.py @@ -130,7 +130,7 @@ def generate_control(): control += "\n" + textwrap.dedent(f"""\ Package: {package_name} - Architecture: amd64 + Architecture: arm64 Depends: {', '.join(depends)} Description: {requirement.package.title()} for Python {requirement.package.title()} is a {requirement.package} library for for Python.