import: pypi: Use git-fetch when possible. * guix/import/pypi.scm (make-pypi-source, make-source): New procedures. (make-pypi-sexp): Use them. Change-Id: I6136f701c313b7f0356bb7fdb73140e97a3adabe Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
import: pypi: Enforce home-page https prefix. * guix/import/pypi.scm (make-pypi-sexp): Improve home-page handling to enforce an https:// prefix, even in the case where upstream uses http://. Change-Id: Iff4164a5f1ddc96af67ca7b092d3b9bbd6e2a827 Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
import: pypi: Improve license detection. A lot of python packages are generated with an #f license, despite the license being on pypi and in metadata. Fix this. * gnu/import/pypi.scm (find-license): Add procedure. (make-pypi-sexp): Use procedure find-license. Change-Id: Ia8e476f85a4b9193a0634de7a9bd66e40dcf2d44 Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
gnu: python-markdown-strings: Switch to pyproject. * gnu/packages/python-xyz.scm (python-markdown-strings): [build-system]: Switch to pyproject-build-system. [arguments]<#:test-backend, #:test-flags>: Set them. [native-inputs]: Add python-setuptools. Change-Id: Ic9d4ac2bee4fc192cb7f3cc2e316d9cfbc799d33 Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
gnu: python-pymonad: Switch to pyproject. * gnu/packages/python-xyz.scm (python-pymonad): [source, arguments]: Run guix style. [build-system]: Switch to pyproject-build-system. [native-inputs]: Add python-setuptools. Change-Id: I28fe224a9533e9c32dc2f5e799b1358001bbdd0d Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
gnu: python-misskey: Switch to pyproject. * gnu/packages/python-xyz.scm (python-misskey): [build-system]: Switch to pyproject-build-system. [native-inputs]: Add python-setuptools. Change-Id: I5ecad84a0399778eedb554ef6a3066e8a0d9c3a1 Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
gnu: python-nanoid: Switch to pyproject. * gnu/packages/python-xyz.scm (python-nanoid): Re-indent. [build-system]: Switch to pyproject-build-system. [arguments]: Drop them. [native-inputs]: Add python-pytest, python-setuptools. Change-Id: I4fe87423021c6f5dc469e6e548469d7ccb748f39 Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
gnu: python-rcslice: Switch to pyproject. * gnu/packages/python-xyz.scm (python-rcslice): [build-system]: Switch to pyproject-build-system. [arguments]<#:test-backend>: Set it. [native-inputs]: Add python-setuptools. [description]: Improve style. Change-Id: I68ab5aa82276a023d7c3b8bb084d72e6ba2aa131 Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
gnu: python-cyclic: Switch to pyproject. * gnu/packages/python-xyz.scm (python-cyclic): [build-system]: Switch to pyproject-build-system. [arguments]<#:test-backend>: Set it. [native-inputs]: Add python-setuptools. Change-Id: I49b6b256cff754cc335e64187f9e445ee0323f48 Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
gnu: i3-autotiling: Move to (gnu packages wm). * gnu/packages/python-xyz.scm (i3-autotiling): Move from here ... * gnu/packages/wm.scm (i3-autotiling): ... to here. Change-Id: Ifcff8892901c4791b7e349e46243aebc61e60210 Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
gnu: python-i3ipc: Move to (gnu packages wm). * gnu/packages/python-xyz.scm (python-i3ipc): Move from here ... * gnu/packages/wm.scm (python-i3ipc): ... to here. (python-i3ipc)[source]: Update to 2.2.1-0.a670f24. [build-system]: Switch to pyproject-build-system. [arguments]<#:test-flags>: Ignore failing tests. <#·phases>: Add phases 'fix-configuration and 'start-xserver to run tests properly. [native-inputs]: Add i3-wm, python-pytest, python-pytest-asyncio, python-pytest-timeout, python-setuptools, xorg-server-for-tests. Change-Id: I80fd9fcc3c712238ffe0addc7ceecb2e6341b503 Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
gnu: python-libfreenect: Fix build with gcc-1.14. * gnu/packages/openkinect.scm (python-libfreenect): [arguments] <configure-flags>: Add relaxation for GCC 1.14 strictness, sort alphabetically. [native-inputs]: Remove python-cython; add python-cython-0. Change-Id: I0a2f3a1e2073f8bd9c2244f9bf8b01db0e6b004a
gnu: python-pyscss: Fix build by addig python-six. * gnu/packages/python-web.scm (python-pyscss): [propagated-inputs]: Add python-six. [native-inputs]: Remove python-pytest-cov and python-wheel. Change-Id: I62556defdac33df9c7f8551708f694a2d33d0262
gnu: python-geomet: Update to 1.1.0. * gnu/packages/python-xyz.scm (python-geomet): Update to 1.1.0. [source]: Switch to git-fetch. [build-system]: Switch to pyproject-build-system. [native-inputs]: Add python-pytest, python-setuptools. [synopsis, description]: Improve style. Change-Id: If3072c4ac81550b29cb11376e5f25f7db3fd55a8 Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
gnu: python-biblib: Switch to pyproject. * gnu/packages/python-xyz.scm (python-biblib): [build-system]: Switch to pyproject-build-system. [arguments]<#:tests?>: Disable them. [native-inputs]: Add python-setuptools. Change-Id: I3388d9ccdab2552c1c7124abb5c8b4ae548ba63a Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
gnu: python-gatt: Switch to pyproject. * gnu/packages/python-xyz.scm (python-gatt): [build-system]: Switch to pyproject-build-system. [arguments]<#:tests?>: Disable them. [native-inputs]: Add python-setuptools. [description]: Improve style. Change-Id: Idaea7bc4b233513e38163acb9589490f8da3595d Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
gnu: python-preshed: Switch to pyproject. * gnu/packages/python-xyz.scm (python-preshed): [build-system]: Switch to pyproject-build-system. [native-inputs]: Add python-setuptools. [source]: Switch to git-fetch. [build-system]: Switch to pyproject-build-system. [arguments]: Remove former <#:modules> and <#:phases>, not necessary due to the switch to git-fetch. <#:phases>: Replace 'check phase, to run it from the output and delete it afterwards. This is necessary because tests import modules using relative names, and the modules are compiled. Add phase 'patch-msvccompiler. [native-inputs]: Add python-setuptools. Change-Id: I8524c7257d9f41545e3e03d5c676c0534651aece Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
gnu: python-cymem: Switch to pyproject. * gnu/packages/python-xyz.scm (python-cymem): [source]: Switch to git-fetch. [build-system]: Switch to pyproject-build-system. [arguments]: Drop them. [native-inputs]: Add python-setuptools. Change-Id: Ie872ffa80538fda221b7a94ea927b515cf4e7ac6 Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
gnu: python-hypy-utils: Update to 1.0.29. * gnu/packages/python-xyz.scm (python-hypy-utils): Update to 1.0.29. [build-system]: Switch to pyproject-build-system. [arguments]<#:tests?>: Disable them. [native-inputs]: Add python-setuptools. Change-Id: Ib7e79df1c9b2f107a961a0348f0270e03f9b0156 Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
gnu: python-itemadapter: Update to 0.12.0. * gnu/packages/python-xyz.scm (python-itemadapter): Update to 0.12.0. [source]: Switch to git-fetch. [build-system]: Switch to pyproject-build-system. [arguments]<#:tests?>: Disable them. [native-inputs]: Add python-hatchling. [description]: Improve style. Change-Id: I6410daa7e06f167a34dcfbe8833f1c2bc567cfd1 Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>