Date: Thu, 5 Dec 2019 07:36:43 +0000 From: Matthew Seaman <matthew@FreeBSD.org> To: FreeBSD Ports ML <freebsd-ports@freebsd.org> Subject: python distutils without setup.py? Message-ID: <df1ca1ba-9648-1d69-fd2a-7c63f347c4b4@FreeBSD.org>
next in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --4LhOFX6gDMhmD4oO4SoGJU9iyXOTpofvq Content-Type: multipart/mixed; boundary="pzaS7IAIDZQcTb2Pxi1DbaFsKIHEnzIPV" --pzaS7IAIDZQcTb2Pxi1DbaFsKIHEnzIPV Content-Type: text/plain; charset=utf-8 Content-Language: en-GB Content-Transfer-Encoding: quoted-printable I'm looking at updating sysutils/py-ansible-lint (https://github.com/ansible/ansible-lint) and it's got me scratching my head. Seems there's now no setup.py included in the source code, and that makes the ports sad: ``` lucid-nonsense:~...ports/sysutils/py-ansible-lint:% make =3D=3D=3D> License MIT accepted by the user =3D=3D=3D> py37-ansible-lint-4.2.0 depends on file: /usr/local/sbin/pkg= - found =3D=3D=3D> Fetching all distfiles required by py37-ansible-lint-4.2.0 for= building =3D=3D=3D> Extracting for py37-ansible-lint-4.2.0 =3D> SHA256 Checksum OK for ansible-lint-4.2.0.tar.gz. =3D=3D=3D> Patching for py37-ansible-lint-4.2.0 =3D=3D=3D> py37-ansible-lint-4.2.0 depends on package: py37-setuptools_scm_git_archive>0 - found =3D=3D=3D> py37-ansible-lint-4.2.0 depends on package: py37-setuptools>= 0 - found =3D=3D=3D> py37-ansible-lint-4.2.0 depends on file: /usr/local/bin/pyth= on3.7 - found =3D=3D=3D> Configuring for py37-ansible-lint-4.2.0 Traceback (most recent call last): File "<string>", line 1, in <module> FileNotFoundError: [Errno 2] No such file or directory: 'setup.py' *** Error code 1 Stop. make: stopped in /home/matthew/work/ports/sysutils/py-ansible-lint ``` There's a comment in the ChangeLog: * Fully depend on Pip having PEP 517 implementation #607 and the associated merge: https://github.com/ansible/ansible-lint/pull/607/files has the removal of setup.py. The docs now say that to install from source, you should run: pip install git+https://github.com/ansible/ansible-lint.git Do we have support in the ports for python modules setup in this way? Is there a similar example I can copy from? Cheers, Matthew --pzaS7IAIDZQcTb2Pxi1DbaFsKIHEnzIPV-- --4LhOFX6gDMhmD4oO4SoGJU9iyXOTpofvq Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- iQKTBAEBCgB9FiEEGfFU7L8RLlBUTj8wAFE/EOCp5OcFAl3os4tfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDE5 RjE1NEVDQkYxMTJFNTA1NDRFM0YzMDAwNTEzRjEwRTBBOUU0RTcACgkQAFE/EOCp 5Of1jxAAqfff5aMDBcFK8mRo7BaD9vFkSgZQqRAY4nAo0pf/PLyiIF0eGcJQKcz2 xvtLEZsq1p3F8Wi/YS+UQ2prt/6ENuZJH/LrjHkWt+Z+zSkuTr1J9cG24YmKr2yy 24eBl31NmB/qGZrA7K3MM/6J7bCTQ7RztRODYdMcJ5fYkX2el97ERfEcgoWNAf2D zncnR0Zp6Wzh4yjPDtd5tbbmXu45isItwDWe8CVXgfUQu1LquEf7EQiNop1vUl7L MULj0samyeEs4xoV6Ff/g5MjNVcXpynEzUJEBczeslV+Tv5182LRPSDcJZF77B90 YBn/WSmTJ42QKA2Bud2ZDK16v5F923S5HeL9LXCBfCLH7sVtbiBOZgALP4mp/obO SFcrdoPdRc4yhktuLt/vyGx69yKEiDj5aDQCHcwxeGcNzDfHuiYYYFPVgqLpp6qf 8cIEVZqxLZa9P5ChAyLipXqNCLisyedqQnkIWmYkSK7wQFF4dvSZT2LJ19uBhvLb u2i8Mp76pvV1GeRJGq+DTqQB2x6laPC+rh/40VAM27HKb1s8d/2SArBqlMwZHCKx YaFivTSeT7XuVJ4uSGmRMw7VEqbXNmC17iTpSscU6tjGt3xebleIc5a+13EXjJYs uS3FLJmX3bMPHL7/SZEfq8pucLGju1Y/D6FmjjGgc7+71HXn24E= =dhlz -----END PGP SIGNATURE----- --4LhOFX6gDMhmD4oO4SoGJU9iyXOTpofvq--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?df1ca1ba-9648-1d69-fd2a-7c63f347c4b4>