* [ITP] setuptools-scm
@ 2024-02-23 22:21 Libor Ukropec
2024-02-24 6:37 ` Marco Atzeri
0 siblings, 1 reply; 2+ messages in thread
From: Libor Ukropec @ 2024-02-23 22:21 UTC (permalink / raw)
To: cygwin-apps
[-- Attachment #1: Type: text/plain, Size: 388 bytes --]
I would like to propose new package python-setuptools-scm.
(Only if Marco wasn't faster)
setuptools_scm extracts Python package versions from git or hg metadata instead of
declaring them as the version argument or in a SCM managed file.
This package is the new dependency for existing "duplicity" Python package. It prevents
from upgrading to duplicity version 2.2.2
Thank you,
Libor
[-- Attachment #2: python-setuptools-scm.cygport --]
[-- Type: text/plain, Size: 727 bytes --]
NAME="python-setuptools-scm"
VERSION="8.0.4"
RELEASE=1
ARCH="noarch"
PYTHON_WHEEL_VERSIONS="3.8:3.9"
inherit python-wheel
HOMEPAGE="https://setuptools-scm.readthedocs.io/en/latest/"
LICENSE="MIT License"
CATEGORY=Python
SUMMARY="setuptools_scm extracts Python package versions from git or hg
metadata instead of declaring them as the version argument or in a SCM managed
file."
DESCRIPTION="Additionally setuptools_scm provides setuptools with a list of
files that are managed by the SCM (i.e. it automatically adds all the
SCM-managed files to the sdist). Unwanted files must be excluded via
MANIFEST.in."
BUILD_REQUIRES+="python3.8 python3.8-pip python3.9 python3.9-pip"
src_install() {
cd ${B}
python_wheel_install
}
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [ITP] setuptools-scm
2024-02-23 22:21 [ITP] setuptools-scm Libor Ukropec
@ 2024-02-24 6:37 ` Marco Atzeri
0 siblings, 0 replies; 2+ messages in thread
From: Marco Atzeri @ 2024-02-24 6:37 UTC (permalink / raw)
To: cygwin-apps
On 23/02/2024 23:21, Libor Ukropec via Cygwin-apps wrote:
> I would like to propose new package python-setuptools-scm.
> (Only if Marco wasn't faster)
>
> setuptools_scm extracts Python package versions from git or hg metadata
> instead of declaring them as the version argument or in a SCM managed file.
>
> This package is the new dependency for existing "duplicity" Python
> package. It prevents from upgrading to duplicity version 2.2.2
>
> Thank you,
> Libor
already uploading
$ git diff |grep "^+"
+++ b/cygwin-pkg-maint
+python-build Marco Atzeri
+python-pyproject_hooks Marco Atzeri
+python-setuptools_scm Marco Atzeri
python{38,39}-build are needed to test python{38,39}-setuptools_scm
I think they are not needed as dependency for your needs.
python-pyproject_hooks is needed to test build, but to test it needs
flaky, so more works is needed.
But this weekend I am busy with personal stuff
So it will wait
Regards
Marco
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2024-02-24 6:37 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-02-23 22:21 [ITP] setuptools-scm Libor Ukropec
2024-02-24 6:37 ` Marco Atzeri
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).