-
Notifications
You must be signed in to change notification settings - Fork 187
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
Changes from 9 commits
988a0ed
5d28786
ed1a89d
c5ed0dc
b2460e8
444b25b
02ab78b
75a273f
f1c876c
5b963a5
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,15 +2,15 @@ | |
# Distributed under the terms of the GNU General Public License v2 | ||
|
||
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 commentThe reason will be displayed to describe this comment to others. Learn more. 同上,pypi.eclass下再定义 |
||
|
||
DESCRIPTION="kuwo music support for feeluown" | ||
HOMEPAGE="https://github.com/feeluown/feeluown-kuwo" | ||
MY_P="${P/-/_}" | ||
S="${WORKDIR}/${MY_P}" | ||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${MY_P}.tar.gz" | ||
|
||
LICENSE="GPL-3" | ||
SLOT="0" | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,15 +2,15 @@ | |
# Distributed under the terms of the GNU General Public License v2 | ||
|
||
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 commentThe reason will be displayed to describe this comment to others. Learn more. 同上,pypi.eclass下再定义 |
||
|
||
DESCRIPTION="local music support for feeluown" | ||
HOMEPAGE="https://github.com/feeluown/feeluown-local" | ||
MY_P="${P/-/_}" | ||
S="${WORKDIR}/${MY_P}" | ||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${MY_P}.tar.gz" | ||
|
||
LICENSE="GPL-3" | ||
SLOT="0" | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1 @@ | ||
DIST fuo_netease-0.9.3.tar.gz 201930 BLAKE2B 23272493ac41c50539ff85735c85f70482938829a825278797d268a4d83eb8bdbac4a76d238500e52cc6122674720cc43717f8eec47843d0a534c0472ad2562f SHA512 2fa5a8bb6e07a6ffe084691709f8f963a2d8920bb9cd72db04241c99631a29dc92afeab9365c5e25c345b1483d7581a3c45ae26f141259372a16b0e597ca42f1 | ||
DIST fuo_netease-0.9.4.tar.gz 32991 BLAKE2B 8ca38e6202ad09169a85678e17f1f3fdb1123e33e9e9d65ed6061195249bcb445d7bfb44770511294e9acc7f599fe22e495660cf18935ff0fe6ae029c168fd9c SHA512 11f76786f8c1ef6b19f81c936f8387e9938ee62b07f562cbaff9cc12b4fc6240b0561d3219ac4b447449fe580457019d6d0c5e1433ce1622636f5fd0389e6f6b |
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 commentThe reason will be displayed to describe this comment to others. Learn more. 同上,pypi.eclass下再定义 |
||
|
||
DESCRIPTION="netease cloud music support for feeluown" | ||
HOMEPAGE="https://github.com/feeluown/feeluown-netease" | ||
MY_P="${P/-/_}" | ||
S="${WORKDIR}/${MY_P}" | ||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${MY_P}.tar.gz" | ||
|
||
LICENSE="GPL-3" | ||
SLOT="0" | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,15 +2,15 @@ | |
# Distributed under the terms of the GNU General Public License v2 | ||
|
||
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 commentThe reason will be displayed to describe this comment to others. Learn more. 同上,pypi.eclass下再定义 |
||
|
||
DESCRIPTION="qq music support for feeluown" | ||
HOMEPAGE="https://github.com/feeluown/feeluown-qqmusic" | ||
MY_P="${P/-/_}" | ||
S="${WORKDIR}/${MY_P}" | ||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${MY_P}.tar.gz" | ||
|
||
LICENSE="GPL-3" | ||
SLOT="0" | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,14 +2,14 @@ | |
# Distributed under the terms of the GNU General Public License v2 | ||
|
||
EAPI=7 | ||
DISTUTILS_USE_PEP517=setuptools | ||
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 commentThe reason will be displayed to describe this comment to others. Learn more. 和上面类似, |
||
|
||
DESCRIPTION="Implementation of the asyncio (PEP 3156) event-loop with Qt" | ||
HOMEPAGE="https://github.com/aio-libs/janus" | ||
MY_P="${P/_alpha/a}" | ||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${MY_P}.tar.gz" | ||
IUSE="test" | ||
RESTRICT="!test? ( test )" | ||
|
||
|
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也会normalize。