-
Notifications
You must be signed in to change notification settings - Fork 184
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
switch to pypi sdist #3356
switch to pypi sdist #3356
Conversation
Signed-off-by: jinqiang zhang <[email protected]>
Signed-off-by: jinqiang zhang <[email protected]>
This comment has been minimized.
This comment has been minimized.
Signed-off-by: jinqiang zhang <[email protected]>
Signed-off-by: jinqiang zhang <[email protected]>
Signed-off-by: jinqiang zhang <[email protected]>
Signed-off-by: jinqiang zhang <[email protected]>
Signed-off-by: jinqiang zhang <[email protected]>
Signed-off-by: jinqiang zhang <[email protected]>
This comment has been minimized.
This comment has been minimized.
Signed-off-by: jinqiang zhang <[email protected]>
This comment has been minimized.
This comment has been minimized.
PYTHON_COMPAT=( python3_{9..11} ) | ||
|
||
inherit distutils-r1 | ||
inherit distutils-r1 pypi |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
同上,pypi.eclass下再定义 MY_P
是无用功
PYTHON_COMPAT=( python3_{9..11} ) | ||
|
||
inherit distutils-r1 | ||
inherit distutils-r1 pypi |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
同上,pypi.eclass下再定义 MY_P
是无用功
PYTHON_COMPAT=( python3_{9..11} ) | ||
|
||
inherit distutils-r1 | ||
inherit distutils-r1 pypi |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
只要用了pypi.eclass就没必要再定义 MY_P
了。因为pypi.eclass会自动根据PEP 625和PEP 440的规则进行normalize,-
在SRC和S里会自动变成下划线 _
,再自己定义MY_P完全是跟没写一样
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
原来如此, S="${WORKDIR}/${MY_P}"
也是不需要了吧
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
原来如此,
S="${WORKDIR}/${MY_P}"
也是不需要了吧
正是。上面也有说S也会normalize。
@@ -5,13 +5,12 @@ EAPI=8 | |||
DISTUTILS_USE_PEP517=setuptools | |||
PYTHON_COMPAT=( python3_{9..11} ) | |||
|
|||
inherit distutils-r1 | |||
inherit distutils-r1 pypi |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
同上,pypi.eclass下再定义 MY_P
是无用功
PYTHON_COMPAT=( python3_{9..11} ) | ||
|
||
inherit distutils-r1 | ||
inherit distutils-r1 pypi |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
同上,pypi.eclass下再定义 MY_P
是无用功
PYTHON_COMPAT=( python3_{9..11} pypy3 ) | ||
|
||
inherit distutils-r1 | ||
inherit distutils-r1 pypi |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
和上面类似,pypi.eclass
会根据 PEP 440的规则把版本号也进行normalize,第12行的 MY_P
定义写了也等于没写
This comment has been minimized.
This comment has been minimized.
Signed-off-by: jinqiang zhang <[email protected]>
⚪
|
No description provided.