diff --git a/recipes/python/anyio.yaml b/recipes/python/anyio.yaml new file mode 100644 index 00000000..2da8b275 --- /dev/null +++ b/recipes/python/anyio.yaml @@ -0,0 +1,27 @@ +inherit: ["python3::build"] + +metaEnvironment: + PKG_VERSION: "4.12.0" + PKG_LICENSE: "MIT" + +checkoutSCM: + scm: url + url: ${GITHUB_MIRROR}/agronholm/anyio/archive/refs/tags/${PKG_VERSION}.tar.gz + digestSHA256: 1c14d1faa8bd5f42014ffe1b64df12369d9c84a2d3c192b773eef0f54892b0f5 + stripComponents: 1 + +depends: + - python::setuptools-scm + - python::typing_extensions + - python::idna + +buildVars: [PKG_VERSION] +buildSetup: | + export SETUPTOOLS_SCM_PRETEND_VERSION="${PKG_VERSION}" +buildScript: | + python3Build $1 + +packageScript: | + python3PackageTgt + +provideDeps: ['*typing_extensions', '*idna'] diff --git a/recipes/python/cachetools.yaml b/recipes/python/cachetools.yaml new file mode 100644 index 00000000..99ba2078 --- /dev/null +++ b/recipes/python/cachetools.yaml @@ -0,0 +1,17 @@ +inherit: ["python3::build"] + +metaEnvironment: + PKG_VERSION: "6.2.2" + PKG_LICENSE: "MIT" + +checkoutSCM: + scm: url + url: ${GITHUB_MIRROR}/tkem/cachetools/archive/refs/tags/v${PKG_VERSION}.tar.gz + digestSHA256: 1a37b0b530fc03f9680089d21bc7908d513a151698ddb371b114a37615753c8f + stripComponents: 1 + +buildScript: | + python3Build $1 + +packageScript: | + python3PackageTgt diff --git a/recipes/python/chardet.yaml b/recipes/python/chardet.yaml new file mode 100644 index 00000000..137d424e --- /dev/null +++ b/recipes/python/chardet.yaml @@ -0,0 +1,22 @@ +inherit: ["python3::build"] + +metaEnvironment: + PKG_VERSION: "5.2.0" + PKG_LICENSE: "LGPL-2.1" + +checkoutSCM: + scm: url + url: ${GITHUB_MIRROR}/chardet/chardet/archive/refs/tags/${PKG_VERSION}.tar.gz + digestSHA256: 07249fb7bdf1fc669e2fb0eba58afe18fe6c5e3187ee806f22969f0e809a32dd + stripComponents: 1 + +depends: + - python::hatchling + - python::setuptools-scm + - python::hatch-vcs + +buildScript: | + python3Build $1 + +packageScript: | + python3PackageTgt diff --git a/recipes/python/click.yaml b/recipes/python/click.yaml new file mode 100644 index 00000000..9cd3cce5 --- /dev/null +++ b/recipes/python/click.yaml @@ -0,0 +1,17 @@ +inherit: ["python3::build"] + +metaEnvironment: + PKG_VERSION: "8.3.1" + PKG_LICENSE: "BSD-3-Clause" + +checkoutSCM: + scm: url + url: ${GITHUB_MIRROR}/pallets/click/archive/refs/tags/${PKG_VERSION}.tar.gz + digestSHA256: df2fb64b9c3f0b5fbf65f1b69dd164cd2d8e7d5d8f6ee3abdafcff7fe2d63719 + stripComponents: 1 + +buildScript: | + python3Build $1 + +packageScript: | + python3PackageTgt diff --git a/recipes/python/construct-dataclasses.yaml b/recipes/python/construct-dataclasses.yaml new file mode 100644 index 00000000..8f89ea2e --- /dev/null +++ b/recipes/python/construct-dataclasses.yaml @@ -0,0 +1,22 @@ +inherit: ["python3::build"] + +metaEnvironment: + PKG_VERSION: "1.1.12" + PKG_LICENSE: "GPL-3.0" + +checkoutSCM: + scm: url + url: ${GITHUB_MIRROR}/MatrixEditor/construct-dataclasses/archive/refs/tags/v${PKG_VERSION}.tar.gz + digestSHA256: efcc93a82645ef5f20d10a5e78526cfbaa095040a9f872bc38c9bf8f1d449b6a + stripComponents: 1 + +depends: + - python::construct + +buildScript: | + python3Build $1 + +packageScript: | + python3PackageTgt + +provideDeps: ['*construct'] diff --git a/recipes/python/construct.yaml b/recipes/python/construct.yaml new file mode 100644 index 00000000..ebe88e52 --- /dev/null +++ b/recipes/python/construct.yaml @@ -0,0 +1,17 @@ +inherit: ["python3::build"] + +metaEnvironment: + PKG_VERSION: "2.10.70" + PKG_LICENSE: "MIT" + +checkoutSCM: + scm: url + url: ${GITHUB_MIRROR}/construct/construct/archive/refs/tags/v${PKG_VERSION}.tar.gz + digestSHA256: ea468f7970fe425e2190016875a1f5955d45753d4560e84c5921e8d575b237c2 + stripComponents: 1 + +buildScript: | + python3Build $1 + +packageScript: | + python3PackageTgt diff --git a/recipes/python/distlib.yaml b/recipes/python/distlib.yaml new file mode 100644 index 00000000..f9cec532 --- /dev/null +++ b/recipes/python/distlib.yaml @@ -0,0 +1,17 @@ +inherit: ["python3::build"] + +metaEnvironment: + PKG_VERSION: "0.4.0" + PKG_LICENSE: "PSF-2.0" + +checkoutSCM: + scm: url + url: ${GITHUB_MIRROR}/pypa/distlib/archive/refs/tags/${PKG_VERSION}.tar.gz + digestSHA256: 98fb21cbb8c43d3deafc688ff58e024e79712568e837407d16b7037cd28d0041 + stripComponents: 1 + +buildScript: | + python3Build $1 + +packageScript: | + python3PackageTgt diff --git a/recipes/python/filelock.yaml b/recipes/python/filelock.yaml new file mode 100644 index 00000000..c04d9e96 --- /dev/null +++ b/recipes/python/filelock.yaml @@ -0,0 +1,25 @@ +inherit: ["python3::build"] + +metaEnvironment: + PKG_VERSION: "3.20.0" + PKG_LICENSE: "Unlicense" + +checkoutSCM: + scm: url + url: ${GITHUB_MIRROR}/tox-dev/filelock/archive/refs/tags/${PKG_VERSION}.tar.gz + digestSHA256: 6aa2eb5ebc5c2415dff4cee47a9ff5dc8978864167a0031fe1848ff374ecd256 + stripComponents: 1 + +depends: + - python::hatchling + - python::setuptools-scm + - python::hatch-vcs + +buildVars: [PKG_VERSION] +buildSetup: | + export SETUPTOOLS_SCM_PRETEND_VERSION="${PKG_VERSION}" +buildScript: | + python3Build $1 + +packageScript: | + python3PackageTgt diff --git a/recipes/python/h11.yaml b/recipes/python/h11.yaml new file mode 100644 index 00000000..6f7b04ab --- /dev/null +++ b/recipes/python/h11.yaml @@ -0,0 +1,20 @@ +inherit: ["python3::build"] + +metaEnvironment: + PKG_VERSION: "0.16.0" + PKG_LICENSE: "MIT" + +checkoutSCM: + scm: url + url: ${GITHUB_MIRROR}/python-hyper/h11/archive/refs/tags/v${PKG_VERSION}.tar.gz + digestSHA256: d164114d09552ea887b5c9ed206d5a8e5bc0bf07d33e07a32622f91f102182c2 + stripComponents: 1 + +depends: + - python::setuptools-scm + +buildScript: | + python3Build $1 + +packageScript: | + python3PackageTgt diff --git a/recipes/python/hatch-vcs.yaml b/recipes/python/hatch-vcs.yaml new file mode 100644 index 00000000..ef536fbc --- /dev/null +++ b/recipes/python/hatch-vcs.yaml @@ -0,0 +1,20 @@ +inherit: ["python3::build"] + +metaEnvironment: + PKG_VERSION: "0.5.0" + PKG_LICENSE: "MIT" + +checkoutSCM: + scm: url + url: ${GITHUB_MIRROR}/ofek/hatch-vcs/archive/refs/tags/v${PKG_VERSION}.tar.gz + digestSHA256: a74465d21bb60eef75f01b3c189b73181f152a5eef2b26bd95de039e224953a7 + stripComponents: 1 + +depends: + - python::hatchling + +buildScript: | + python3Build $1 + +packageScript: | + python3PackageTgt diff --git a/recipes/python/hatchling.yaml b/recipes/python/hatchling.yaml index 43e6903f..62ac69dd 100644 --- a/recipes/python/hatchling.yaml +++ b/recipes/python/hatchling.yaml @@ -1,13 +1,13 @@ inherit: ["python3::build"] metaEnvironment: - PKG_VERSION: "1.25.0" + PKG_VERSION: "1.28.0" PKG_LICENSE: "MIT" checkoutSCM: scm: url url: ${GITHUB_MIRROR}/pypa/hatch/archive/refs/tags/hatchling-v${PKG_VERSION}.tar.gz - digestSHA256: 0d8d66b687b8e765d19d2d0560f182457aa78cdbc45fef9430655ccaf1cd34b1 + digestSHA256: 3a52e40675ab341eab0720fe22cbd82b6a0d18a6445e2ce6bb9aebb831ca79cd stripComponents: 1 depends: &deps diff --git a/recipes/python/idna.yaml b/recipes/python/idna.yaml new file mode 100644 index 00000000..21486dda --- /dev/null +++ b/recipes/python/idna.yaml @@ -0,0 +1,17 @@ +inherit: ["python3::build"] + +metaEnvironment: + PKG_VERSION: "3.11" + PKG_LICENSE: "BSD-3-Clause" + +checkoutSCM: + scm: url + url: ${GITHUB_MIRROR}/kjd/idna/archive/refs/tags/v${PKG_VERSION}.tar.gz + digestSHA256: 04c67db54fa23cd6d2276009f17ac8424471d6a7afa42e9b3e3805c93925eb0a + stripComponents: 1 + +buildScript: | + python3Build $1 + +packageScript: | + python3PackageTgt diff --git a/recipes/python/pkg_about.yaml b/recipes/python/pkg_about.yaml new file mode 100644 index 00000000..faa1d141 --- /dev/null +++ b/recipes/python/pkg_about.yaml @@ -0,0 +1,30 @@ +inherit: ["python3::build"] + +metaEnvironment: + PKG_VERSION: "2.0.11" + PKG_LICENSE: "Zlib" + +checkoutSCM: + scm: url + url: ${GITHUB_MIRROR}/karpierz/pkg_about/archive/refs/tags/${PKG_VERSION}.tar.gz + digestSHA256: f3c273b8bf8edfebc5fd6995d9211574ab6a126e77ae394e4fafeff8396e4550 + stripComponents: 1 + +depends: + - python::tox + - python::pluggy + - python::python3-setuptools + - python::packaging + - python::typing_extensions + +buildScript: | + python3Build $1 + +packageScript: | + python3PackageTgt + +provideDeps: + - python::tox + - python::pluggy + - python::packaging + - python::typing_extensions diff --git a/recipes/python/platformdirs.yaml b/recipes/python/platformdirs.yaml new file mode 100644 index 00000000..688b48cb --- /dev/null +++ b/recipes/python/platformdirs.yaml @@ -0,0 +1,25 @@ +inherit: ["python3::build"] + +metaEnvironment: + PKG_VERSION: "4.5.1" + PKG_LICENSE: "MIT" + +checkoutSCM: + scm: url + url: ${GITHUB_MIRROR}/tox-dev/platformdirs/archive/refs/tags/${PKG_VERSION}.tar.gz + digestSHA256: 1c5e44517dd8c2b44e348598f0afebd32214178414843949e1d85204874805e4 + stripComponents: 1 + +depends: + - python::hatchling + - python::setuptools-scm + - python::hatch-vcs + +buildVars: [PKG_VERSION] +buildSetup: | + export SETUPTOOLS_SCM_PRETEND_VERSION="${PKG_VERSION}" +buildScript: | + python3Build $1 + +packageScript: | + python3PackageTgt diff --git a/recipes/python/pluggy.yaml b/recipes/python/pluggy.yaml index d6dbe21a..a433bf73 100644 --- a/recipes/python/pluggy.yaml +++ b/recipes/python/pluggy.yaml @@ -1,13 +1,13 @@ inherit: ["python3::build"] metaEnvironment: - PKG_VERSION: "1.5.0" + PKG_VERSION: "1.6.0" PKG_LICENSE: "MIT" checkoutSCM: scm: url url: https://files.pythonhosted.org/packages/source/p/pluggy/pluggy-${PKG_VERSION}.tar.gz - digestSHA256: 2cffa88e94fdc978c4c574f15f9e59b7f4201d439195c3715ca9e2486f1d0cf1 + digestSHA256: 7dcc130b76258d33b90f61b658791dede3486c3e6bfb003ee5c9bfb396dd22f3 stripComponents: 1 depends: diff --git a/recipes/python/pyc_wheel.yaml b/recipes/python/pyc_wheel.yaml new file mode 100644 index 00000000..bd7277d5 --- /dev/null +++ b/recipes/python/pyc_wheel.yaml @@ -0,0 +1,25 @@ +inherit: ["python3::build"] + +metaEnvironment: + PKG_VERSION: "2.0.11" + PKG_LICENSE: "MIT" + +checkoutSCM: + scm: url + url: ${GITHUB_MIRROR}/karpierz/pyc_wheel/archive/refs/tags/${PKG_VERSION}.tar.gz + digestSHA256: 49be32f3db3d5dba4884d9c1944ee3d0142efec77e3adacb8ea8c2d07a4493e3 + stripComponents: 1 + +depends: + - python::tox + - python::python3-setuptools + - python::typing_extensions + - python::pkg_about + +buildScript: | + python3Build $1 + +packageScript: | + python3PackageTgt + +provideDeps: [ '*setuptools', '*typing_extensions', '*pkg_about' ] diff --git a/recipes/python/pyproject-api.yaml b/recipes/python/pyproject-api.yaml new file mode 100644 index 00000000..10a8a87f --- /dev/null +++ b/recipes/python/pyproject-api.yaml @@ -0,0 +1,25 @@ +inherit: ["python3::build"] + +metaEnvironment: + PKG_VERSION: "1.10.0" + PKG_LICENSE: "MIT" + +checkoutSCM: + scm: url + url: ${GITHUB_MIRROR}/tox-dev/pyproject-api/archive/refs/tags/${PKG_VERSION}.tar.gz + digestSHA256: 78ec2863f1b784a404f4dec52749bd447599d878ee504ff8739e004e03ed8090 + stripComponents: 1 + +depends: + - python::hatchling + - python::setuptools-scm + - python::hatch-vcs + +buildVars: [PKG_VERSION] +buildSetup: | + export SETUPTOOLS_SCM_PRETEND_VERSION="${PKG_VERSION}" +buildScript: | + python3Build $1 + +packageScript: | + python3PackageTgt diff --git a/recipes/python/setuptools-scm.yaml b/recipes/python/setuptools-scm.yaml index abd5230b..6c07c12d 100644 --- a/recipes/python/setuptools-scm.yaml +++ b/recipes/python/setuptools-scm.yaml @@ -1,13 +1,13 @@ inherit: ["python3::build"] metaEnvironment: - PKG_VERSION: "8.1.0" + PKG_VERSION: "9.2.2" PKG_LICENSE: "MIT" checkoutSCM: scm: url url: ${GITHUB_MIRROR}/pypa/setuptools-scm/archive/refs/tags/v${PKG_VERSION}.tar.gz - digestSHA256: 4407d237183e668574bc893fdf739f8f4cde5f61950b99ead4f370f13224ea2b + digestSHA256: 853f06f1ab2cebd2bef6970c76fdf6bd6bad250c69b9d966d5a3e14f9d503df1 stripComponents: 1 buildScript: | diff --git a/recipes/python/starlette.yaml b/recipes/python/starlette.yaml new file mode 100644 index 00000000..77b462c2 --- /dev/null +++ b/recipes/python/starlette.yaml @@ -0,0 +1,24 @@ +inherit: ["python3::build"] + +metaEnvironment: + PKG_VERSION: "0.50.0" + PKG_LICENSE: "BSD-3-Clause" + +checkoutSCM: + scm: url + url: ${GITHUB_MIRROR}/Kludex/starlette/archive/refs/tags/${PKG_VERSION}.tar.gz + digestSHA256: c7491964ad0501fe516789e0e27a7bca72b3ab6bced01adcbb1e17ef49e851d5 + stripComponents: 1 + +depends: + - python::hatchling + - python::anyio + - python::typing_extensions + +buildScript: | + python3Build $1 + +packageScript: | + python3PackageTgt + +provideDeps: ['*anyio', '*typing_extensions'] diff --git a/recipes/python/tox.yaml b/recipes/python/tox.yaml new file mode 100644 index 00000000..58096a9a --- /dev/null +++ b/recipes/python/tox.yaml @@ -0,0 +1,45 @@ +inherit: ["python3::build"] + +metaEnvironment: + PKG_VERSION: "4.32.0" + PKG_LICENSE: "MIT" + +checkoutSCM: + scm: url + url: ${GITHUB_MIRROR}/tox-dev/tox/archive/refs/tags/${PKG_VERSION}.tar.gz + digestSHA256: e467aadff05def57909859d3bb31b8fe000bc714d0e0ea6e7cac9c15185e32a9 + stripComponents: 1 + +depends: + - python::hatchling + - python::setuptools-scm + - python::hatch-vcs + - python::cachetools + - python::chardet + - python::colorama + - python::filelock + - python::packaging + - python::platformdirs + - python::pluggy + - python::pyproject-api + - python::virtualenv + +buildVars: [PKG_VERSION] +buildSetup: | + export SETUPTOOLS_SCM_PRETEND_VERSION="${PKG_VERSION}" +buildScript: | + python3Build $1 + +packageScript: | + python3PackageTgt + +provideDeps: + - python::cachetools + - python::chardet + - python::colorama + - python::filelock + - python::packaging + - python::platformdirs + - python::pluggy + - python::pyproject-api + - python::virtualenv diff --git a/recipes/python/typing_extensions.yaml b/recipes/python/typing_extensions.yaml new file mode 100644 index 00000000..04b3ca2f --- /dev/null +++ b/recipes/python/typing_extensions.yaml @@ -0,0 +1,17 @@ +inherit: ["python3::build"] + +metaEnvironment: + PKG_VERSION: "4.15.0" + PKG_LICENSE: "PSF-2.0" + +checkoutSCM: + scm: url + url: ${GITHUB_MIRROR}/python/typing_extensions/archive/refs/tags/${PKG_VERSION}.tar.gz + digestSHA256: 40e4fd945fb070e470976538741ee85add33de5e8ab2f1583e9e264d8386916b + stripComponents: 1 + +buildScript: | + python3Build $1 + +packageScript: | + python3PackageTgt diff --git a/recipes/python/uvicorn.yaml b/recipes/python/uvicorn.yaml new file mode 100644 index 00000000..66dee43d --- /dev/null +++ b/recipes/python/uvicorn.yaml @@ -0,0 +1,24 @@ +inherit: ["python3::build"] + +metaEnvironment: + PKG_VERSION: "0.38.0" + PKG_LICENSE: "BSD-3-Clause" + +checkoutSCM: + scm: url + url: ${GITHUB_MIRROR}/Kludex/uvicorn/archive/refs/tags/${PKG_VERSION}.tar.gz + digestSHA256: 788c7f1c42ddc698e8735e1c0af8be0a6bc07da5ab51f1d2a05d3c47d5f2cadb + stripComponents: 1 + +depends: + - python::hatchling + - python::click + - python::h11 + +buildScript: | + python3Build $1 + +packageScript: | + python3PackageTgt + +provideDeps: ['*click', '*h11'] diff --git a/recipes/python/virtualenv.yaml b/recipes/python/virtualenv.yaml new file mode 100644 index 00000000..5fa505e9 --- /dev/null +++ b/recipes/python/virtualenv.yaml @@ -0,0 +1,33 @@ +inherit: ["python3::build"] + +metaEnvironment: + PKG_VERSION: "20.35.4" + PKG_LICENSE: "MIT" + +checkoutSCM: + scm: url + url: ${GITHUB_MIRROR}/pypa/virtualenv/archive/refs/tags/${PKG_VERSION}.tar.gz + digestSHA256: 7cd947aef689c99b2539a45de8735a209668e8cefec1482625461a1f2d25cc80 + stripComponents: 1 + +depends: + - python::hatchling + - python::setuptools-scm + - python::hatch-vcs + - python::distlib + - python::filelock + - python::platformdirs + +buildVars: [PKG_VERSION] +buildSetup: | + export SETUPTOOLS_SCM_PRETEND_VERSION="${PKG_VERSION}" +buildScript: | + python3Build $1 + +packageScript: | + python3PackageTgt + +provideDeps: + - python::distlib + - python::filelock + - python::platformdirs diff --git a/tests/buildall/recipes/all.yaml b/tests/buildall/recipes/all.yaml index 7c627dca..69924601 100644 --- a/tests/buildall/recipes/all.yaml +++ b/tests/buildall/recipes/all.yaml @@ -113,31 +113,51 @@ depends: - perl::string-crc32-tgt - perl::xml-parser-tgt + - python::anyio - python::build + - python::cachetools - python::calver + - python::chardet + - python::click - python::colorama + - python::construct + - python::construct-dataclasses - python::cython + - python::distlib - python::docutils + - python::filelock - python::funcy + - python::h11 - python::hatchling + - python::hatch-vcs + - python::idna - python::lxml - python::mako - python::markupsafe - python::packaging - python::pathspec - python::pbr + - python::pkg_about + - python::platformdirs - python::pluggy - python::psutil - - python::pycparser - python::pycotap + - python::pycparser + - python::pyc_wheel + - python::pyproject-api - python::pyproject-hooks - python::pyyaml - python::regex - python::setuptools-scm - python::smbus3 + - python::starlette - python::stevedore + - python::tox - python::tqdm - python::trove-classifiers + - python::typing_extensions + - python::uvicorn + - python::virtualenv - utils::acpica - utils::brtools