ports/contrib (3.6): [notify] python3-tomli: new dependencies: python3-pip
commit 20cb8e5303f99485fe7edfd216ab92f1f0cd8361 Author: Tim Biermann <tbier@posteo.de> Date: Sat Feb 12 16:08:41 2022 +0100 [notify] python3-tomli: new dependencies: python3-pip diff --git a/python3-tomli/.footprint b/python3-tomli/.footprint index bad36847e..841f6ebc2 100644 --- a/python3-tomli/.footprint +++ b/python3-tomli/.footprint @@ -2,19 +2,21 @@ drwxr-xr-x root/root usr/ drwxr-xr-x root/root usr/lib/ drwxr-xr-x root/root usr/lib/python3.9/ drwxr-xr-x root/root usr/lib/python3.9/site-packages/ +drwxr-xr-x root/root usr/lib/python3.9/site-packages/tomli-2.0.1.dist-info/ +-rw-r--r-- root/root usr/lib/python3.9/site-packages/tomli-2.0.1.dist-info/INSTALLER +-rw-r--r-- root/root usr/lib/python3.9/site-packages/tomli-2.0.1.dist-info/LICENSE +-rw-r--r-- root/root usr/lib/python3.9/site-packages/tomli-2.0.1.dist-info/METADATA +-rw-r--r-- root/root usr/lib/python3.9/site-packages/tomli-2.0.1.dist-info/RECORD +-rw-r--r-- root/root usr/lib/python3.9/site-packages/tomli-2.0.1.dist-info/REQUESTED (EMPTY) +-rw-r--r-- root/root usr/lib/python3.9/site-packages/tomli-2.0.1.dist-info/WHEEL drwxr-xr-x root/root usr/lib/python3.9/site-packages/tomli/ -drwxr-xr-x root/root usr/lib/python3.9/site-packages/tomli-2.0.0-py3.9.egg-info/ --rw-r--r-- root/root usr/lib/python3.9/site-packages/tomli-2.0.0-py3.9.egg-info/dependency_links.txt --rw-r--r-- root/root usr/lib/python3.9/site-packages/tomli-2.0.0-py3.9.egg-info/PKG-INFO --rw-r--r-- root/root usr/lib/python3.9/site-packages/tomli-2.0.0-py3.9.egg-info/SOURCES.txt --rw-r--r-- root/root usr/lib/python3.9/site-packages/tomli-2.0.0-py3.9.egg-info/top_level.txt -rw-r--r-- root/root usr/lib/python3.9/site-packages/tomli/__init__.py --rw-r--r-- root/root usr/lib/python3.9/site-packages/tomli/_parser.py drwxr-xr-x root/root usr/lib/python3.9/site-packages/tomli/__pycache__/ -rw-r--r-- root/root usr/lib/python3.9/site-packages/tomli/__pycache__/__init__.cpython-39.pyc -rw-r--r-- root/root usr/lib/python3.9/site-packages/tomli/__pycache__/_parser.cpython-39.pyc -rw-r--r-- root/root usr/lib/python3.9/site-packages/tomli/__pycache__/_re.cpython-39.pyc -rw-r--r-- root/root usr/lib/python3.9/site-packages/tomli/__pycache__/_types.cpython-39.pyc --rw-r--r-- root/root usr/lib/python3.9/site-packages/tomli/py.typed +-rw-r--r-- root/root usr/lib/python3.9/site-packages/tomli/_parser.py -rw-r--r-- root/root usr/lib/python3.9/site-packages/tomli/_re.py -rw-r--r-- root/root usr/lib/python3.9/site-packages/tomli/_types.py +-rw-r--r-- root/root usr/lib/python3.9/site-packages/tomli/py.typed diff --git a/python3-tomli/.signature b/python3-tomli/.signature index 16e0894ac..e0c2606fa 100644 --- a/python3-tomli/.signature +++ b/python3-tomli/.signature @@ -1,5 +1,5 @@ untrusted comment: verify with /etc/ports/contrib.pub -RWSagIOpLGJF36XHfVwA7NHaXZaElPqS3MSnhEpKhF/PdqFxz1tu4Z5pZ6PFfmVbEB7OXT9OlUQqEsTW2TxcL6CRBXQZ5ACl8gw= -SHA256 (Pkgfile) = 943487567edbd8cb7396b42d3a2b2894b0c45c63341cb1f000da882ff45c273c -SHA256 (.footprint) = 5f5433dbaceced7edb23e5a4b4b91cc24ee200769179cc522196c8b0a8806c3c -SHA256 (tomli-2.0.0.tar.gz) = c292c34f58502a1eb2bbb9f5bbc9a5ebc37bee10ffb8c2d6bbdfa8eb13cc14e1 +RWSagIOpLGJF3zVjUx8X/NXzXi09/kgoYA530K3DYKjVpdgC3SI0ItPHPwcI21Y/9FKeB5ypa6yGROmyvrdnrxSalSGIBDTUDwU= +SHA256 (Pkgfile) = daa40d9e2113c45f0a85fcefe14cc4506b6880bcb2ca36dca35bbef90815b026 +SHA256 (.footprint) = 6d6c8efa98928666f635c67fad662f2b58746d455ca68c543f0d6fa92a352468 +SHA256 (tomli-2.0.1.tar.gz) = de526c12914f0c550d15924c62d72abc48d6fe7364aa87328337a31007fe8a4f diff --git a/python3-tomli/Pkgfile b/python3-tomli/Pkgfile index 0fe487361..5e12ec1bc 100644 --- a/python3-tomli/Pkgfile +++ b/python3-tomli/Pkgfile @@ -1,28 +1,20 @@ # Description: A lil' TOML parser # URL: https://github.com/hukkin/tomli # Maintainer: Tim Biermann, tbier at posteo dot de -# Depends on: python3-setuptools +# Depends on: python3-pip +# Optional: python3-flit name=python3-tomli -version=2.0.0 +version=2.0.1 release=1 source=(https://pypi.python.org/packages/source/t/tomli/tomli-$version.tar.gz) build() { cd tomli-$version - - ## gentoo to the rescue, thank you very much - #sed -i '/flit_core/d' pyproject.toml - #dephell deps convert --from pyproject.toml --to setup.py - - ## https://gitweb.gentoo.org/repo/gentoo.git/tree/dev-python/tomli/tomli-1.0.4.... - cat > setup.py <<-EOF -from setuptools import setup -setup(name="tomli", version="${version}", packages=["tomli"], package_data={"": ["*"]}) -EOF - - /usr/bin/python3 setup.py build - /usr/bin/python3 setup.py install --prefix=/usr \ - --root=$PKG \ - --skip-build + if prt-get isinst python3-flit; then + /usr/bin/python3 -m flit build --format wheel + /usr/bin/pip3 install --isolate --root=$PKG --ignore-installed --no-deps dist/*.whl + else + /usr/bin/pip3 install --isolate --root=$PKG --ignore-installed --no-deps tomli + fi }
participants (1)
-
crux@crux.nu