[arch-commits] Commit in python-pdm-pep517/repos/community-staging-any (4 files)
David Runge
dvzrv at gemini.archlinux.org
Fri May 20 18:22:50 UTC 2022
Date: Friday, May 20, 2022 @ 18:22:50
Author: dvzrv
Revision: 1209445
archrelease: copy trunk to community-staging-any
Added:
python-pdm-pep517/repos/community-staging-any/PKGBUILD
(from rev 1209444, python-pdm-pep517/trunk/PKGBUILD)
python-pdm-pep517/repos/community-staging-any/python-pdm-pep517-0.12.5-devendor.patch
(from rev 1209444, python-pdm-pep517/trunk/python-pdm-pep517-0.12.5-devendor.patch)
Deleted:
python-pdm-pep517/repos/community-staging-any/PKGBUILD
python-pdm-pep517/repos/community-staging-any/python-pdm-pep517-0.12.4-devendor.patch
-----------------------------------------+
PKGBUILD | 108 +++++++++++++++---------------
python-pdm-pep517-0.12.4-devendor.patch | 107 -----------------------------
python-pdm-pep517-0.12.5-devendor.patch | 107 +++++++++++++++++++++++++++++
3 files changed, 161 insertions(+), 161 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-05-20 18:22:41 UTC (rev 1209444)
+++ PKGBUILD 2022-05-20 18:22:50 UTC (rev 1209445)
@@ -1,54 +0,0 @@
-# Maintainer: David Runge <dvzrv at archlinux.org>
-
-_name=pdm-pep517
-pkgname=python-pdm-pep517
-pkgver=0.12.4
-pkgrel=1
-pkgdesc="A PEP 517 backend for PDM that supports PEP 621 metadata"
-arch=(any)
-url="https://github.com/pdm-project/pdm-pep517"
-license=(MIT)
-depends=(python-boolean.py python-cerberus python-license-expression python-packaging python-pyparsing python-tomli python-tomli-w)
-makedepends=(python-build python-installer)
-checkdepends=(git python-pytest python-setuptools)
-optdepends=(
- 'python-setuptools: for setuptools support'
-)
-source=(
- https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz
- $pkgname-0.12.4-devendor.patch
-)
-sha512sums=('16feb14c9b344357e1853a45e100724a4a3b426867488d9e37493dc9e9c884de51d6b617d2c82daab56f9e2050a0cfea830e84443e9c837854908417de26ad2b'
- '40ce9ff4490d7bec7b29c9be35e53730a069cfea83d6b2eb9f8a4652a1587cef26fc46fd20e75684cbfc0128e6b975154bdb2bdca0e121b689721e81766e06b3')
-b2sums=('c3c02bac0269b7ef992567c99a4978632b4fc1fb9d07b1000357df39018c69e6d2f081d9b46d861e90eecf8925f14853a530fc4ccd850b48ceebd674a06f2df8'
- 'e87d1a79fc162c34169826367382194ea3fa6066bbea54be9c28a76e4ba8ed8b9035adf7050d03e8477e6376a5a831e311d3a5d877281ac5a9886347fd3405b2')
-
-prepare() {
- cd $_name-$pkgver
- # remove vendoring of python-boolean.py, python-cerberus,
- # python-license-expression, python-packaging, python-pyparsing,
- # python-tomli, python-tomli-w
- patch -Np1 -i ../$pkgname-0.12.4-devendor.patch
- rm -frv pdm/pep517/_vendor
-}
-
-build() {
- cd $_name-$pkgver
- python -m build --wheel --skip-dependency-check --no-isolation
-}
-
-check() {
- cd $_name-$pkgver
-
- # set default git config for test
- git config --global user.email "you at example.com"
- git config --global user.name "Your Name"
- pytest -vv
-}
-
-package() {
- cd $_name-$pkgver
- python -m installer --destdir="$pkgdir" dist/*.whl
- install -vDm 644 LICENSE -t "$pkgdir/usr/share/licenses/$pkgname/"
- install -vDm 644 README.md -t "$pkgdir/usr/share/doc/$pkgname/"
-}
Copied: python-pdm-pep517/repos/community-staging-any/PKGBUILD (from rev 1209444, python-pdm-pep517/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-05-20 18:22:50 UTC (rev 1209445)
@@ -0,0 +1,54 @@
+# Maintainer: David Runge <dvzrv at archlinux.org>
+
+_name=pdm-pep517
+pkgname=python-pdm-pep517
+pkgver=0.12.5
+pkgrel=1
+pkgdesc="A PEP 517 backend for PDM that supports PEP 621 metadata"
+arch=(any)
+url="https://github.com/pdm-project/pdm-pep517"
+license=(MIT)
+depends=(python-boolean.py python-cerberus python-license-expression python-packaging python-pyparsing python-tomli python-tomli-w)
+makedepends=(python-build python-installer)
+checkdepends=(git python-pytest python-setuptools)
+optdepends=(
+ 'python-setuptools: for setuptools support'
+)
+source=(
+ https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz
+ $pkgname-0.12.5-devendor.patch
+)
+sha512sums=('3a9f5bf277077fc57c4bdfdd87ed141689a85e1c264f4b4cc8a265e0b93d5cb3b012194c3753c9ceda7069eeb6eb1278154efc61c74549c7e075bacf820336c3'
+ '0dcd97be55c121d752fff4574ae3d522f5fb0d1663466a998d03d18963142cbd6d65063f214f4efb45334d78f4d74eb4f9bc7fccdefe40d036d9fa52d74c23ae')
+b2sums=('d6c1a94a7b1a75e71f5f3ca5e8f81c53b5bc2ef03d7a333b252b4575d2fc158909cca5f17e8b224b76a9dfd8f3ee1771b96a53959bde90100593a19c9665a3e1'
+ 'dedb122592daeb10070fa3c1d94ffd30574d1870f72675285a3456ef033ce54d518c981c38e256c74af76f9120a6f669effa2d719d249e802af472b5c8f42174')
+
+prepare() {
+ cd $_name-$pkgver
+ # remove vendoring of python-boolean.py, python-cerberus,
+ # python-license-expression, python-packaging, python-pyparsing,
+ # python-tomli, python-tomli-w
+ patch -Np1 -i ../$pkgname-0.12.5-devendor.patch
+ rm -frv pdm/pep517/_vendor
+}
+
+build() {
+ cd $_name-$pkgver
+ python -m build --wheel --skip-dependency-check --no-isolation
+}
+
+check() {
+ cd $_name-$pkgver
+
+ # set default git config for test
+ git config --global user.email "you at example.com"
+ git config --global user.name "Your Name"
+ pytest -vv
+}
+
+package() {
+ cd $_name-$pkgver
+ python -m installer --destdir="$pkgdir" dist/*.whl
+ install -vDm 644 LICENSE -t "$pkgdir/usr/share/licenses/$pkgname/"
+ install -vDm 644 README.md -t "$pkgdir/usr/share/doc/$pkgname/"
+}
Deleted: python-pdm-pep517-0.12.4-devendor.patch
===================================================================
--- python-pdm-pep517-0.12.4-devendor.patch 2022-05-20 18:22:41 UTC (rev 1209444)
+++ python-pdm-pep517-0.12.4-devendor.patch 2022-05-20 18:22:50 UTC (rev 1209445)
@@ -1,107 +0,0 @@
-diff -ruN a/pdm/pep517/license.py b/pdm/pep517/license.py
---- a/pdm/pep517/license.py 2022-05-02 15:34:09.672311000 +0200
-+++ b/pdm/pep517/license.py 2022-05-06 00:16:08.870022181 +0200
-@@ -1,6 +1,6 @@
- import warnings
-
--from pdm.pep517._vendor.license_expression import (
-+from license_expression import (
- LicenseSymbol,
- Licensing,
- get_spdx_licensing,
-diff -ruN a/pdm/pep517/metadata.py b/pdm/pep517/metadata.py
---- a/pdm/pep517/metadata.py 2022-05-02 15:34:09.672311000 +0200
-+++ b/pdm/pep517/metadata.py 2022-05-06 00:16:37.623454122 +0200
-@@ -17,8 +17,8 @@
- Union,
- )
-
--from pdm.pep517._vendor import tomli
--from pdm.pep517._vendor.packaging.requirements import Requirement
-+import tomli
-+from packaging.requirements import Requirement
- from pdm.pep517.exceptions import MetadataError, PDMWarning, ProjectError
- from pdm.pep517.license import normalize_expression
- from pdm.pep517.scm import get_version_from_scm
-diff -ruN a/pdm/pep517/scm.py b/pdm/pep517/scm.py
---- a/pdm/pep517/scm.py 2022-05-02 15:34:09.672311000 +0200
-+++ b/pdm/pep517/scm.py 2022-05-06 00:17:33.296978562 +0200
-@@ -11,8 +11,8 @@
- from datetime import datetime
- from typing import Any, Dict, Iterable, List, NamedTuple, Optional, Tuple, Union
-
--from pdm.pep517._vendor.packaging.version import LegacyVersion, Version
--from pdm.pep517._vendor.packaging.version import parse as parse_version
-+from packaging.version import LegacyVersion, Version
-+from packaging.version import parse as parse_version
-
- DEFAULT_TAG_REGEX = re.compile(
- r"^(?:[\w-]+-)?(?P<version>[vV]?\d+(?:\.\d+){0,2}[^\+]*)(?:\+.*)?$"
-diff -ruN a/pdm/pep517/sdist.py b/pdm/pep517/sdist.py
---- a/pdm/pep517/sdist.py 2022-05-02 15:34:09.672311000 +0200
-+++ b/pdm/pep517/sdist.py 2022-05-06 00:18:03.283748195 +0200
-@@ -6,7 +6,8 @@
- from copy import copy
- from typing import Any, Iterator
-
--from pdm.pep517._vendor import tomli, tomli_w
-+import tomli
-+import tomli_w
- from pdm.pep517.base import Builder
-
-
-diff -ruN a/pdm/pep517/utils.py b/pdm/pep517/utils.py
---- a/pdm/pep517/utils.py 2022-05-02 15:34:09.672311000 +0200
-+++ b/pdm/pep517/utils.py 2022-05-06 00:17:12.223572876 +0200
-@@ -8,10 +8,10 @@
- from pathlib import Path
- from typing import Callable, Generator, Iterable, Optional, Union
-
--from pdm.pep517._vendor.packaging import tags
--from pdm.pep517._vendor.packaging.markers import Marker
--from pdm.pep517._vendor.packaging.requirements import Requirement
--from pdm.pep517._vendor.packaging.version import InvalidVersion, Version
-+from packaging import tags
-+from packaging.markers import Marker
-+from packaging.requirements import Requirement
-+from packaging.version import InvalidVersion, Version
- from pdm.pep517.macosx_platform import calculate_macosx_platform_tag
-
-
-diff -ruN a/pdm/pep517/validator.py b/pdm/pep517/validator.py
---- a/pdm/pep517/validator.py 2022-05-02 15:34:09.672311000 +0200
-+++ b/pdm/pep517/validator.py 2022-05-06 00:18:23.523817701 +0200
-@@ -1,6 +1,6 @@
- from typing import Mapping
-
--from pdm.pep517._vendor import cerberus
-+import cerberus
- from pdm.pep517.exceptions import PEP621ValidationError
-
- README_RULE = [
-diff -ruN a/pdm/pep517/wheel.py b/pdm/pep517/wheel.py
---- a/pdm/pep517/wheel.py 2022-05-02 15:34:09.672311000 +0200
-+++ b/pdm/pep517/wheel.py 2022-05-06 00:18:47.387233055 +0200
-@@ -15,8 +15,8 @@
- from typing import Any, Generator, List, Mapping, Optional, TextIO, Tuple, Union
-
- from pdm.pep517 import __version__
--from pdm.pep517._vendor.packaging import tags
--from pdm.pep517._vendor.packaging.specifiers import SpecifierSet
-+from packaging import tags
-+from packaging.specifiers import SpecifierSet
- from pdm.pep517.base import Builder
- from pdm.pep517.exceptions import BuildError
- from pdm.pep517.utils import get_abi_tag, get_platform
-diff -ruN a/pyproject.toml b/pyproject.toml
---- a/pyproject.toml 2022-05-02 15:34:09.672311000 +0200
-+++ b/pyproject.toml 2022-05-06 00:21:06.007709884 +0200
-@@ -21,7 +21,7 @@
- "Programming Language :: Python :: 3.9",
- "Programming Language :: Python :: 3.10",
- ]
--dependencies = []
-+dependencies = ["boolean.py", "cerberus", "license_expression", "packaging", "pyparsing", "tomli", "tomli_w"]
- version = "0.12.4"
-
- [project.license]
Copied: python-pdm-pep517/repos/community-staging-any/python-pdm-pep517-0.12.5-devendor.patch (from rev 1209444, python-pdm-pep517/trunk/python-pdm-pep517-0.12.5-devendor.patch)
===================================================================
--- python-pdm-pep517-0.12.5-devendor.patch (rev 0)
+++ python-pdm-pep517-0.12.5-devendor.patch 2022-05-20 18:22:50 UTC (rev 1209445)
@@ -0,0 +1,107 @@
+diff -ruN a/pdm/pep517/license.py b/pdm/pep517/license.py
+--- a/pdm/pep517/license.py 2022-05-16 11:54:15.121063500 +0200
++++ b/pdm/pep517/license.py 2022-05-20 20:20:14.141378129 +0200
+@@ -1,6 +1,6 @@
+ import warnings
+
+-from pdm.pep517._vendor.license_expression import (
++from license_expression import (
+ LicenseSymbol,
+ Licensing,
+ get_spdx_licensing,
+diff -ruN a/pdm/pep517/metadata.py b/pdm/pep517/metadata.py
+--- a/pdm/pep517/metadata.py 2022-05-16 11:54:15.121063500 +0200
++++ b/pdm/pep517/metadata.py 2022-05-20 20:20:14.148044828 +0200
+@@ -17,8 +17,8 @@
+ Union,
+ )
+
+-from pdm.pep517._vendor import tomli
+-from pdm.pep517._vendor.packaging.requirements import Requirement
++import tomli
++from packaging.requirements import Requirement
+ from pdm.pep517.exceptions import MetadataError, PDMWarning, ProjectError
+ from pdm.pep517.license import normalize_expression
+ from pdm.pep517.scm import get_version_from_scm
+diff -ruN a/pdm/pep517/scm.py b/pdm/pep517/scm.py
+--- a/pdm/pep517/scm.py 2022-05-16 11:54:15.121063500 +0200
++++ b/pdm/pep517/scm.py 2022-05-20 20:20:14.148044828 +0200
+@@ -11,8 +11,8 @@
+ from datetime import datetime
+ from typing import Any, Dict, Iterable, List, NamedTuple, Optional, Tuple, Union
+
+-from pdm.pep517._vendor.packaging.version import LegacyVersion, Version
+-from pdm.pep517._vendor.packaging.version import parse as parse_version
++from packaging.version import LegacyVersion, Version
++from packaging.version import parse as parse_version
+
+ DEFAULT_TAG_REGEX = re.compile(
+ r"^(?:[\w-]+-)?(?P<version>[vV]?\d+(?:\.\d+){0,2}[^\+]*)(?:\+.*)?$"
+diff -ruN a/pdm/pep517/sdist.py b/pdm/pep517/sdist.py
+--- a/pdm/pep517/sdist.py 2022-05-16 11:54:15.121063500 +0200
++++ b/pdm/pep517/sdist.py 2022-05-20 20:20:14.148044828 +0200
+@@ -6,7 +6,8 @@
+ from copy import copy
+ from typing import Any, Iterator
+
+-from pdm.pep517._vendor import tomli, tomli_w
++import tomli
++import tomli_w
+ from pdm.pep517.base import Builder
+
+
+diff -ruN a/pdm/pep517/utils.py b/pdm/pep517/utils.py
+--- a/pdm/pep517/utils.py 2022-05-16 11:54:15.121063500 +0200
++++ b/pdm/pep517/utils.py 2022-05-20 20:20:14.148044828 +0200
+@@ -8,10 +8,10 @@
+ from pathlib import Path
+ from typing import Callable, Generator, Iterable, Optional, Union
+
+-from pdm.pep517._vendor.packaging import tags
+-from pdm.pep517._vendor.packaging.markers import Marker
+-from pdm.pep517._vendor.packaging.requirements import Requirement
+-from pdm.pep517._vendor.packaging.version import InvalidVersion, Version
++from packaging import tags
++from packaging.markers import Marker
++from packaging.requirements import Requirement
++from packaging.version import InvalidVersion, Version
+ from pdm.pep517.macosx_platform import calculate_macosx_platform_tag
+
+
+diff -ruN a/pdm/pep517/validator.py b/pdm/pep517/validator.py
+--- a/pdm/pep517/validator.py 2022-05-16 11:54:15.121063500 +0200
++++ b/pdm/pep517/validator.py 2022-05-20 20:20:14.148044828 +0200
+@@ -1,6 +1,6 @@
+ from typing import Mapping
+
+-from pdm.pep517._vendor import cerberus
++import cerberus
+ from pdm.pep517.exceptions import PEP621ValidationError
+
+ README_RULE = [
+diff -ruN a/pdm/pep517/wheel.py b/pdm/pep517/wheel.py
+--- a/pdm/pep517/wheel.py 2022-05-16 11:54:15.121063500 +0200
++++ b/pdm/pep517/wheel.py 2022-05-20 20:20:14.148044828 +0200
+@@ -15,8 +15,8 @@
+ from typing import Any, Generator, List, Mapping, Optional, TextIO, Tuple, Union
+
+ from pdm.pep517 import __version__
+-from pdm.pep517._vendor.packaging import tags
+-from pdm.pep517._vendor.packaging.specifiers import SpecifierSet
++from packaging import tags
++from packaging.specifiers import SpecifierSet
+ from pdm.pep517.base import Builder
+ from pdm.pep517.exceptions import BuildError
+ from pdm.pep517.utils import get_abi_tag, get_platform
+diff -ruN a/pyproject.toml b/pyproject.toml
+--- a/pyproject.toml 2022-05-16 11:54:15.121063500 +0200
++++ b/pyproject.toml 2022-05-20 20:20:35.858146674 +0200
+@@ -21,7 +21,7 @@
+ "Programming Language :: Python :: 3.9",
+ "Programming Language :: Python :: 3.10",
+ ]
+-dependencies = []
++dependencies = ["boolean.py", "cerberus", "license_expression", "packaging", "pyparsing", "tomli", "tomli_w"]
+ version = "0.12.5"
+
+ [project.license]
More information about the arch-commits
mailing list