Re: What is the preferred MASTER_SITES for python port?
On 12/12/2017 1:28 am, Sergey Akhmatov wrote: > > I've looked for the answer in Porters Handbook and at > https://wiki.freebsd.org/Python/PortsPolicy but haven't found it. Python Policy wiki page has been updated: https://wiki.freebsd.org/Python/PortsPolicy#MASTER_SITES Thank you for the question and report :) ./koobs ___ freebsd-ports@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"
Re: What is the preferred MASTER_SITES for python port?
On 12/12/2017 1:28 am, Sergey Akhmatov wrote: > Hello. > > Suppose I want to port some python package that exists in the Python > Package Index (PyPI) and has it's source code available on some official > website or github. > > Is there any policy or recommended practice for choosing MASTER_SITES? > Should I use "USE_GITHUB=yes" or "MASTER_SITES= CHEESESHOP" for such > package? > > I've looked for the answer in Porters Handbook and at > https://wiki.freebsd.org/Python/PortsPolicy but haven't found it. > > Thank you. > Hi Sergey: Use CHEESESHOP by default unless there is a compelling (temporary) case not to. Examples include certain files are not correctly packaged/included in the PyPI sdist, such as test suite/files/data. In these cases, use the alternative MASTER_SITES, open issues/PR's upstream to get them included, and switch to CHEESESHOP when it lands. This ensures an upstreams packaging/deployment pipeline is well tested and standardised, as it is heavily relied upon (setuptools, autoplist, documentation, discoverability, etc) Note: Irrespective of MASTER_SITES, if a package is in PyPI it *must* be named exactly by its . That is: * SVN Directory: py- * PORTNAME= * PKGNAMEPREFIX=${PYTHON_PKGNAMEPREFIX} ./koobs ___ freebsd-ports@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"
Re: What is the preferred MASTER_SITES for python port?
Le 11/12/2017 à 18:46, Sergey Akhmatov a écrit : > Suppose I want to port some python package that exists in the Python > Package Index (PyPI) and has it's source code available on some > official website or github. > > Is there any policy or recommended practice for choosing MASTER_SITES? > Should I use "USE_GITHUB=yes" or "MASTER_SITES= CHEESESHOP" for such > package? If possible, you should always use a real release and not an extract from a git repository. -- Mathieu Arnold signature.asc Description: OpenPGP digital signature
Re: What is the preferred MASTER_SITES for python port?
On Mon, 11 Dec 2017 20:46:43 +0300 "Sergey Akhmatov" said Hello. Suppose I want to port some python package that exists in the Python Package Index (PyPI) and has it's source code available on some official website or github. Is there any policy or recommended practice for choosing MASTER_SITES? Should I use "USE_GITHUB=yes" or "MASTER_SITES= CHEESESHOP" for such package? I've looked for the answer in Porters Handbook and at https://wiki.freebsd.org/Python/PortsPolicy but haven't found it. While this isn't the definitive answer. It may be of additional help. /usr/ports/Mk/bsd.sites.mk holds the *current* list of "default" sites for many of the common locations for things not specific to just one port. HTH --Chris Thank you. ___ freebsd-ports@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org" ___ freebsd-ports@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"
What is the preferred MASTER_SITES for python port?
Hello. Suppose I want to port some python package that exists in the Python Package Index (PyPI) and has it's source code available on some official website or github. Is there any policy or recommended practice for choosing MASTER_SITES? Should I use "USE_GITHUB=yes" or "MASTER_SITES= CHEESESHOP" for such package? I've looked for the answer in Porters Handbook and at https://wiki.freebsd.org/Python/PortsPolicy but haven't found it. Thank you. ___ freebsd-ports@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"