public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Theo Anderson" <telans@posteo.de>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:dev commit in: dev-python/usort/
Date: Wed,  8 Jun 2022 05:14:14 +0000 (UTC)	[thread overview]
Message-ID: <1654665224.4a1d177abb81cb2b71a6945fd75703dab5c82c1c.telans@gentoo> (raw)

commit:     4a1d177abb81cb2b71a6945fd75703dab5c82c1c
Author:     James Beddek <telans <AT> posteo <DOT> de>
AuthorDate: Wed Jun  8 05:06:04 2022 +0000
Commit:     Theo Anderson <telans <AT> posteo <DOT> de>
CommitDate: Wed Jun  8 05:13:44 2022 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=4a1d177a

dev-python/usort: new package, add 1.0.2

Signed-off-by: James Beddek <telans <AT> posteo.de>

 dev-python/usort/Manifest           |  1 +
 dev-python/usort/metadata.xml       |  8 ++++++++
 dev-python/usort/usort-1.0.2.ebuild | 35 +++++++++++++++++++++++++++++++++++
 3 files changed, 44 insertions(+)

diff --git a/dev-python/usort/Manifest b/dev-python/usort/Manifest
new file mode 100644
index 000000000..9d4dfbab0
--- /dev/null
+++ b/dev-python/usort/Manifest
@@ -0,0 +1 @@
+DIST usort-1.0.2.tar.gz 78068 BLAKE2B f53b7e70d707a569e8c9bb954022ea50ca133e04a6ef3674dadc0e6d78298e005035ee7e63ec349a567493802ec662026b366ebdb508d84da1862adfa9cefc2c SHA512 e950db4c61a14af55a0a39b8a799a2980cc0b2e731dd27b59ee0b345af6102db870d57118dfec94f6a89fbdbf0cdf5df5eb870d0cad657f99487fb21341dc4aa

diff --git a/dev-python/usort/metadata.xml b/dev-python/usort/metadata.xml
new file mode 100644
index 000000000..2924f0387
--- /dev/null
+++ b/dev-python/usort/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM 'https://www.gentoo.org/dtd/metadata.dtd'>
+<pkgmetadata>
+	<maintainer type="person">
+		<email>telans@posteo.de</email>
+		<name>James Beddek</name>
+	</maintainer>
+</pkgmetadata>

diff --git a/dev-python/usort/usort-1.0.2.ebuild b/dev-python/usort/usort-1.0.2.ebuild
new file mode 100644
index 000000000..efb78fb32
--- /dev/null
+++ b/dev-python/usort/usort-1.0.2.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{8..10} ) # python3_11 depends on dev-python/libcst
+
+inherit distutils-r1
+
+DESCRIPTION="Safe, minimal import sorting for Python projects"
+HOMEPAGE="https://github.com/facebookexperimental/usort/"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="test"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+	dev-python/attrs[${PYTHON_USEDEP}]
+	dev-python/click[${PYTHON_USEDEP}]
+	dev-python/libcst[${PYTHON_USEDEP}]
+	dev-python/stdlibs[${PYTHON_USEDEP}]
+	dev-python/moreorless[${PYTHON_USEDEP}]
+	dev-python/toml[${PYTHON_USEDEP}]
+	dev-python/trailrunner[${PYTHON_USEDEP}]
+"
+DEPEND="
+	${RDEPEND}
+	test? ( dev-python/volatile[${PYTHON_USEDEP}] )
+"
+
+distutils_enable_tests unittest


             reply	other threads:[~2022-06-08  5:14 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-06-08  5:14 Theo Anderson [this message]
  -- strict thread matches above, loose matches on Subject: below --
2023-03-17 13:01 [gentoo-commits] repo/proj/guru:dev commit in: dev-python/usort/ Anna Vyalkova

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=1654665224.4a1d177abb81cb2b71a6945fd75703dab5c82c1c.telans@gentoo \
    --to=telans@posteo.de \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /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