diff options
author | CoprDistGit <infra@openeuler.org> | 2024-04-14 08:10:00 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2024-04-14 08:10:00 +0000 |
commit | c1f4333338a7177ebcedb93dd6393b66adc1daf9 (patch) | |
tree | 1e79badc6b5582e876628ea6533ebd0c9761ecd4 | |
parent | 3a277b1b90acee6b85aae67a82137c0fb5e5920f (diff) |
automatic import of python-torchdata
-rw-r--r-- | .gitignore | 2 | ||||
-rw-r--r-- | python-torchdata.spec | 9 | ||||
-rw-r--r-- | sources | 2 |
3 files changed, 13 insertions, 0 deletions
@@ -1 +1,3 @@ /data-0.7.1.tar.gz +/aws-sdk-cpp-1fb97256a2ae7211a741fda0033ef1e18d29e2f0.zip +/pybind11-80dc998efced8ceb2be59756668a7e90e8bef917.zip diff --git a/python-torchdata.spec b/python-torchdata.spec index 274fb8f..16a6735 100644 --- a/python-torchdata.spec +++ b/python-torchdata.spec @@ -13,10 +13,13 @@ Summary: %{pkg_summary} License: BDS-3-Clause URL: https://github.com/pytorch/data Source0: %{url}/archive/refs/tags/v%{version}.tar.gz#/data-%{version}.tar.gz +Source1: aws-sdk-cpp-1fb97256a2ae7211a741fda0033ef1e18d29e2f0.zip +Source2: pybind11-80dc998efced8ceb2be59756668a7e90e8bef917.zip BuildRequires: cmake BuildRequires: ninja-build BuildRequires: g++ +BuildRequires: unzip BuildRequires: python3-devel BuildRequires: python3-setuptools @@ -39,6 +42,12 @@ Summary: %{pkg_summary} %prep %autosetup -p1 -n data-%{pypi_version} +# unzip and move to third_party/aws-sdk-cpp +unzip -q %{SOURCE1} +mv aws-sdk-cpp* third_party/aws-sdk-cpp +# unzip and move to third_party/pybind11 +unzip -q %{SOURCE2} +mv pybind11* third_party/pybind11 %build %pyproject_build @@ -1 +1,3 @@ +9becdde8da255351d6a76f7dc81fcb56 aws-sdk-cpp-1fb97256a2ae7211a741fda0033ef1e18d29e2f0.zip f95a0112f9ac5ef50b21b879c5cbd2c5 data-0.7.1.tar.gz +7f4f86fd1b407bdd4a15fadee9bf61bc pybind11-80dc998efced8ceb2be59756668a7e90e8bef917.zip |