[arch-commits] Commit in python-isort/repos/community-staging-any (PKGBUILD PKGBUILD)

Evangelos Foutras foutrelis at gemini.archlinux.org
Thu Dec 2 19:24:58 UTC 2021


    Date: Thursday, December 2, 2021 @ 19:24:58
  Author: foutrelis
Revision: 1062397

archrelease: copy trunk to community-staging-any

Added:
  python-isort/repos/community-staging-any/PKGBUILD
    (from rev 1062396, python-isort/trunk/PKGBUILD)
Deleted:
  python-isort/repos/community-staging-any/PKGBUILD

----------+
 PKGBUILD |  184 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 92 insertions(+), 92 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-12-02 19:24:56 UTC (rev 1062396)
+++ PKGBUILD	2021-12-02 19:24:58 UTC (rev 1062397)
@@ -1,92 +0,0 @@
-# Maintainer: Caleb Maclennan <caleb at alerque.com>
-# Contributor: Felix Yan <felixonmars at archlinux.org>
-# Contributor: Yaron de Leeuw <me at jarondl.net>
-
-_pyname=isort
-pkgname=python-$_pyname
-pkgver=5.10.1
-pkgrel=3
-pkgdesc='A Python utility / library to sort Python imports'
-arch=(any)
-url="https://github.com/PyCQA/$_pyname"
-license=(MIT)
-_pydeps=(toml
-         tomli)
-depends=(python
-         "${_pydeps[@]/#/python-}")
-makedepends=(python-dephell
-             python-setuptools)
-_pycheckdeps=(black
-              hypothesis-auto
-              hypothesmith
-              libcst
-              natsort
-              ## deps that make it harder not easier to tell if things work
-              # pip
-              # pip-api
-              # pipreqs
-              pytest
-              pytest-mock
-              requirementslib)
-checkdepends=(git
-              pylama
-              "${_pycheckdeps[@]/#/python-}")
-_archive="$_pyname-$pkgver"
-source=("$url/archive/$pkgver/$_archive.tar.gz")
-sha256sums=('7f3a99bb1e93e58ae10737b8a31d45aa03a096b1c4cbbbd55f05226e40089cf7')
-
-prepare() {
-	cd "$_archive"
-
-	# Devendor toml
-	rm -r isort/_vendored
-	sed -i 's/from ._vendored //' isort/settings.py
-
-	# Upstream is poetry only
-	dephell deps convert --from pyproject.toml --to setup.py
-
-	## Skipping example integration tests
-	# for _plugin in example_*; do
-	#     pushd $_plugin
-	#     dephell deps convert --from pyproject.toml --to setup.py
-	#     popd
-	# done
-}
-
-build() {
-	cd "$_archive"
-	python setup.py build
-}
-
-check() {
-	cd "$_archive"
-	## Skipping example integration tests
-	# python setup.py install --root="$PWD/tmp_install" --optimize=1
-	# for _plugin in example_*; do
-	#     pushd $_plugin
-	#     python setup.py install --root="$srcdir/isort-$pkgver/tmp_install" --optimize=1
-	#     popd
-	# done
-	# PYTHONPATH="$PWD/example_isort_formatting_plugin:$PWD/example_shared_isort_profile:$PWD/tmp_install/usr/lib/python3.10/site-packages" PATH="$PWD/tmp_install/usr/bin:$PATH" \
-	pytest -p no:warnings \
-		--deselect tests/unit/test_deprecated_finders.py::TestRequirementsFinder::test_requirements_dir $(: having pip in ruins other tests ) \
-		--deselect tests/unit/test_deprecated_finders.py::test_requirements_finder $(: having pip in ruins other tests ) \
-		--deselect tests/unit/test_deprecated_finders.py::test_pipfile_finder $(: having pip in ruins other tests ) \
-		--deselect tests/unit/test_isort.py::test_settings_path_skip_issue_909 $(: example integrations ) \
-		--deselect tests/unit/test_isort.py::test_skip_paths_issue_938 $(: example integrations ) \
-		--deselect tests/unit/test_ticketed_features.py::test_isort_supports_shared_profiles_issue_970 $(: example integrations ) \
-		--deselect tests/unit/test_literal.py::test_value_assignment_list $(: unknown) \
-		--deselect tests/unit/test_ticketed_features.py::test_isort_supports_formatting_plugins_issue_1353 $(: unknown) \
-		--deselect tests/unit/test_ticketed_features.py::test_isort_literals_issue_1358 $(: unknown ) \
-		--deselect tests/unit/test_ticketed_features.py::test_sort_configurable_sort_issue_1732 $(: unknown ) \
-		--deselect tests/integration/test_setting_combinations.py $(: unknown ) \
-		--deselect tests/integration/test_projects_using_isort.py::test_typeshed $(: requires network ) \
-		--deselect tests/test_importable.py::test_importable $(: just weird ) \
-		--deselect tests/benchmark/test_api.py $(: no benchmarks thanks )
-}
-
-package() {
-	cd "$_archive"
-	python setup.py install --root="$pkgdir" --optimize=1 --skip-build
-	install -Dm0644 -t "$pkgdir/usr/share/licenses/$pkgname/" LICENSE
-}

Copied: python-isort/repos/community-staging-any/PKGBUILD (from rev 1062396, python-isort/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-12-02 19:24:58 UTC (rev 1062397)
@@ -0,0 +1,92 @@
+# Maintainer: Caleb Maclennan <caleb at alerque.com>
+# Contributor: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Yaron de Leeuw <me at jarondl.net>
+
+_pyname=isort
+pkgname=python-$_pyname
+pkgver=5.10.1
+pkgrel=4
+pkgdesc='A Python utility / library to sort Python imports'
+arch=(any)
+url="https://github.com/PyCQA/$_pyname"
+license=(MIT)
+_pydeps=(toml
+         tomli)
+depends=(python
+         "${_pydeps[@]/#/python-}")
+makedepends=(python-dephell
+             python-setuptools)
+_pycheckdeps=(black
+              hypothesis-auto
+              hypothesmith
+              libcst
+              natsort
+              ## deps that make it harder not easier to tell if things work
+              # pip
+              # pip-api
+              # pipreqs
+              pytest
+              pytest-mock
+              requirementslib)
+checkdepends=(git
+              pylama
+              "${_pycheckdeps[@]/#/python-}")
+_archive="$_pyname-$pkgver"
+source=("$url/archive/$pkgver/$_archive.tar.gz")
+sha256sums=('7f3a99bb1e93e58ae10737b8a31d45aa03a096b1c4cbbbd55f05226e40089cf7')
+
+prepare() {
+	cd "$_archive"
+
+	# Devendor toml
+	rm -r isort/_vendored
+	sed -i 's/from ._vendored //' isort/settings.py
+
+	# Upstream is poetry only
+	dephell deps convert --from pyproject.toml --to setup.py
+
+	## Skipping example integration tests
+	# for _plugin in example_*; do
+	#     pushd $_plugin
+	#     dephell deps convert --from pyproject.toml --to setup.py
+	#     popd
+	# done
+}
+
+build() {
+	cd "$_archive"
+	python setup.py build
+}
+
+check() {
+	cd "$_archive"
+	## Skipping example integration tests
+	# python setup.py install --root="$PWD/tmp_install" --optimize=1
+	# for _plugin in example_*; do
+	#     pushd $_plugin
+	#     python setup.py install --root="$srcdir/isort-$pkgver/tmp_install" --optimize=1
+	#     popd
+	# done
+	# PYTHONPATH="$PWD/example_isort_formatting_plugin:$PWD/example_shared_isort_profile:$PWD/tmp_install/usr/lib/python3.10/site-packages" PATH="$PWD/tmp_install/usr/bin:$PATH" \
+	pytest -p no:warnings \
+		--deselect tests/unit/test_deprecated_finders.py::TestRequirementsFinder::test_requirements_dir $(: having pip in ruins other tests ) \
+		--deselect tests/unit/test_deprecated_finders.py::test_requirements_finder $(: having pip in ruins other tests ) \
+		--deselect tests/unit/test_deprecated_finders.py::test_pipfile_finder $(: having pip in ruins other tests ) \
+		--deselect tests/unit/test_isort.py::test_settings_path_skip_issue_909 $(: example integrations ) \
+		--deselect tests/unit/test_isort.py::test_skip_paths_issue_938 $(: example integrations ) \
+		--deselect tests/unit/test_ticketed_features.py::test_isort_supports_shared_profiles_issue_970 $(: example integrations ) \
+		--deselect tests/unit/test_literal.py::test_value_assignment_list $(: unknown) \
+		--deselect tests/unit/test_ticketed_features.py::test_isort_supports_formatting_plugins_issue_1353 $(: unknown) \
+		--deselect tests/unit/test_ticketed_features.py::test_isort_literals_issue_1358 $(: unknown ) \
+		--deselect tests/unit/test_ticketed_features.py::test_sort_configurable_sort_issue_1732 $(: unknown ) \
+		--deselect tests/integration/test_setting_combinations.py $(: unknown ) \
+		--deselect tests/integration/test_projects_using_isort.py::test_typeshed $(: requires network ) \
+		--deselect tests/test_importable.py::test_importable $(: just weird ) \
+		--deselect tests/benchmark/test_api.py $(: no benchmarks thanks )
+}
+
+package() {
+	cd "$_archive"
+	python setup.py install --root="$pkgdir" --optimize=1 --skip-build
+	install -Dm0644 -t "$pkgdir/usr/share/licenses/$pkgname/" LICENSE
+}



More information about the arch-commits mailing list