summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* pypi.eclass: Add PYPI_NO_NORMALIZE control varMichał Górny2023-02-121-3/+16
| | | | | Closes: https://github.com/gentoo/gentoo/pull/29526 Signed-off-by: Michał Górny <mgorny@gentoo.org>
* pypi.eclass: Normalize PN and translate PV for S as wellMichał Górny2023-02-121-5/+14
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* pypi.eclass: Translate ${PV} by defaultMichał Górny2023-02-121-6/+15
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* pypi.eclass: Add a version translation functionMichał Górny2023-02-121-0/+19
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* pypi.eclass: Normalize sdist filenames by defaultMichał Górny2023-02-121-4/+19
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* pypi.eclass: Add `--unpack` to usage error in pypi_wheel_urlMichał Górny2023-02-121-1/+1
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* pypi.eclass: Normalize wheel filenamesMichał Górny2023-02-121-2/+3
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* pypi.eclass: Add a name normalization functionMichał Górny2023-02-121-0/+20
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* pypi.eclass: Use pypi_sdist_url to generate the default SRC_URIMichał Górny2023-02-121-4/+2
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* pypi.eclass: Support --unpack in pypi_wheel_urlMichał Górny2023-02-071-7/+19
| | | | | | | | | | Add a handy `--unpack` option to pypi_wheel_url, that automatically renames the downloaded distfile to have .zip suffix. This is used e.g. in dev-python/installer and dev-python/tomli to have default_src_unpack unpack the wheels automatically. Closes: https://github.com/gentoo/gentoo/pull/29439 Signed-off-by: Michał Górny <mgorny@gentoo.org>
* pypi.eclass: Permit EAPI 7Michał Górny2023-02-071-2/+2
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* pypi.eclass: Make package optional as wellMichał Górny2023-02-051-9/+15
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* pypi.eclass: A new eclass to aid creating PyPI SRC_URIsMichał Górny2023-02-051-0/+117
Closes: https://github.com/gentoo/gentoo/pull/29361 Signed-off-by: Michał Górny <mgorny@gentoo.org>