From c1f4333338a7177ebcedb93dd6393b66adc1daf9 Mon Sep 17 00:00:00 2001 From: CoprDistGit Date: Sun, 14 Apr 2024 08:10:00 +0000 Subject: automatic import of python-torchdata --- .gitignore | 2 ++ python-torchdata.spec | 9 +++++++++ sources | 2 ++ 3 files changed, 13 insertions(+) diff --git a/.gitignore b/.gitignore index 929ab1b..9812f64 100644 --- a/.gitignore +++ b/.gitignore @@ -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 diff --git a/sources b/sources index 4fc7ce5..51e2b09 100644 --- a/sources +++ b/sources @@ -1 +1,3 @@ +9becdde8da255351d6a76f7dc81fcb56 aws-sdk-cpp-1fb97256a2ae7211a741fda0033ef1e18d29e2f0.zip f95a0112f9ac5ef50b21b879c5cbd2c5 data-0.7.1.tar.gz +7f4f86fd1b407bdd4a15fadee9bf61bc pybind11-80dc998efced8ceb2be59756668a7e90e8bef917.zip -- cgit v1.2.3