Skip to content
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

Merged
merged 10 commits into from
Jun 19, 2023
Merged

switch to pypi sdist #3356

merged 10 commits into from
Jun 19, 2023

Conversation

peeweep
Copy link
Collaborator

@peeweep peeweep commented Jun 18, 2023

No description provided.

@peeweep peeweep marked this pull request as draft June 18, 2023 08:44
@github-actions

This comment has been minimized.

@peeweep peeweep marked this pull request as ready for review June 18, 2023 08:55
@github-actions

This comment has been minimized.

@github-actions

This comment has been minimized.

PYTHON_COMPAT=( python3_{9..11} )

inherit distutils-r1
inherit distutils-r1 pypi
Copy link
Contributor

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
Copy link
Contributor

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
Copy link
Contributor

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完全是跟没写一样

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

原来如此, S="${WORKDIR}/${MY_P}" 也是不需要了吧

Copy link
Contributor

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
Copy link
Contributor

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
Copy link
Contributor

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
Copy link
Contributor

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 定义写了也等于没写

@github-actions

This comment has been minimized.

Signed-off-by: jinqiang zhang <[email protected]>
@github-actions
Copy link

pkgcheck checks passed but with something can be improved!

QA Results:
dev-python/daff
  PythonCompatUpdate: version 1.3.46: PYTHON_COMPAT update available: python3_12

dev-python/fuo-kuwo
  PythonCompatUpdate: version 0.1.5: PYTHON_COMPAT update available: python3_12
  RedundantVersion: version 0.1.5: slot(0) keywords are overshadowed by version: 0.1.6
  PythonCompatUpdate: version 0.1.6: PYTHON_COMPAT update available: python3_12

dev-python/fuo-netease
  PythonCompatUpdate: version 0.9.4: PYTHON_COMPAT update available: python3_12

dev-python/fuo-qqmusic
  PythonCompatUpdate: version 0.4.1: PYTHON_COMPAT update available: python3_12

dev-python/janus
  PythonCompatUpdate: version 1.0.0-r1: PYTHON_COMPAT update available: python3_12

🔍 QA Keywords Explanation

@liangyongxiang liangyongxiang merged commit da393af into microcai:master Jun 19, 2023
1 check passed
@peeweep peeweep deleted the pypi branch June 20, 2023 07:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants