Skip to contentSkip to conversation

standardizing HOMEPAGE values in python3 recipes

DISCUSSION Robert P. J. Day 4 participants 5 messages Jun 16, 2020 – Jun 19, 2020

lore
Share & tools
lore
#0 lore raw

given the current flurry of python recipe cleanup, just want to
verify a couple things that could/should be standardized.

first, HOMEPAGE values of the form:

https://pypi.python.org/pypi/astroid

can be adjusted to reflect the result of the redirection, as in:

https://pypi.org/project/astroid

also, as i read it, recipe HOMEPAGE values should *not* refer to the pypi page, as that is already set automatically by pypi.bbclass. rather, the HOMEPAGE should refer to the actual source home page, which in the case of the astroid package would be:

https://github.com/PyCQA/astroid

does this make sense?

rday

#1 lore raw
Quoted 12 lines · Robert P. J. Day

given the current flurry of python recipe cleanup, just want to
verify a couple things that could/should be standardized.

first, HOMEPAGE values of the form:

https://pypi.python.org/pypi/astroid

can be adjusted to reflect the result of the redirection, as in:

https://pypi.org/project/astroid

Quoted 8 lines

also, as i read it, recipe HOMEPAGE values should *not* refer to the pypi page, as that is already set automatically by pypi.bbclass. rather, the HOMEPAGE should refer to the actual source home page, which in the case of the astroid package would be:

https://github.com/PyCQA/astroid

does this make sense?

When the source is on github this is supposed to be linked from PyPi.

My personal impression is that meta data like the HOMEPAGE field is usually poorly maintained, keeping an automatically set "good enough" value (the PyPi link) would IMHO be the best default option.

Quoted 1 line

rday

cu
Adrian

#2 lore raw
Quoted 20 lines · Adrian Bunk
Quoted 19 lines · Robert P. J. Day

given the current flurry of python recipe cleanup, just want to
verify a couple things that could/should be standardized.

first, HOMEPAGE values of the form:

https://pypi.python.org/pypi/astroid

can be adjusted to reflect the result of the redirection, as in:

https://pypi.org/project/astroid

also, as i read it, recipe HOMEPAGE values should *not* refer to the pypi page, as that is already set automatically by pypi.bbclass. rather, the HOMEPAGE should refer to the actual source home page, which in the case of the astroid package would be:

https://github.com/PyCQA/astroid

Quoted 8 lines
Quoted 1 line

does this make sense?

When the source is on github this is supposed to be linked from PyPi.

My personal impression is that meta data like the HOMEPAGE field is usually poorly maintained, keeping an automatically set "good enough" value (the PyPi link) would IMHO be the best default option.

i'm inclined to agree, but i will at least lay down some standards
for a few people as to how to craft recipes from now on.

rday

#3 lore raw
Quoted 22 lines · Robert P. J. Day
Quoted 20 lines · Adrian Bunk
Quoted 19 lines · Robert P. J. Day

given the current flurry of python recipe cleanup, just want to
verify a couple things that could/should be standardized.

first, HOMEPAGE values of the form:

https://pypi.python.org/pypi/astroid

can be adjusted to reflect the result of the redirection, as in:

https://pypi.org/project/astroid

also, as i read it, recipe HOMEPAGE values should *not* refer to the pypi page, as that is already set automatically by pypi.bbclass. rather, the HOMEPAGE should refer to the actual source home page, which in the case of the astroid package would be:

https://github.com/PyCQA/astroid

does this make sense?

Quoted 8 lines
Quoted 6 lines

When the source is on github this is supposed to be linked from PyPi.

My personal impression is that meta data like the HOMEPAGE field is usually poorly maintained, keeping an automatically set "good enough" value (the PyPi link) would IMHO be the best default option.

i'm inclined to agree, but i will at least lay down some standards
for a few people as to how to craft recipes from now on.

Beyond: http://www.openembedded.org/wiki/Styleguide ?

Quoted 4 lines

rday

#4 lore raw
In reply to Robert P. J. Day
Quoted 11 lines · Robert P. J. Day

given the current flurry of python recipe cleanup, just want to
verify a couple things that could/should be standardized.

first, HOMEPAGE values of the form:

https://pypi.python.org/pypi/astroid

can be adjusted to reflect the result of the redirection, as in:

https://pypi.org/project/astroid

Both Links above point to pypi.org while not
Ideal using pypi.python.org is still functional

<https://pypi.org/project/astroid>

Quoted 9 lines

also, as i read it, recipe HOMEPAGE values should *not* refer to the pypi page, as that is already set automatically by pypi.bbclass. rather, the HOMEPAGE should refer to the actual source home page, which in the case of the astroid package would be:

https://github.com/PyCQA/astroid

does this make sense?

Yeah if there is anything beyond pypi link to be used
Then it should be set but I think pypi is commonly used for majority of recipes

Quoted 4 lines

rday