public inbox for cygwin-apps@cygwin.com
 help / color / mirror / Atom feed
From: Libor Ukropec <ace@seznam.cz>
To: cygwin-apps@cygwin.com
Subject: [ITP] setuptools-scm
Date: Fri, 23 Feb 2024 23:21:41 +0100	[thread overview]
Message-ID: <219c9013-5598-4f35-ac50-80b532754158@seznam.cz> (raw)

[-- 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
}

             reply	other threads:[~2024-02-23 22:21 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-02-23 22:21 Libor Ukropec [this message]
2024-02-24  6:37 ` Marco Atzeri

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=219c9013-5598-4f35-ac50-80b532754158@seznam.cz \
    --to=ace@seznam.cz \
    --cc=cygwin-apps@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).