summaryrefslogtreecommitdiff
path: root/python-torchtext.spec
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2024-03-31 10:53:07 +0000
committerCoprDistGit <infra@openeuler.org>2024-03-31 10:53:07 +0000
commit31259b8f5f8b41083ff23c454dcbe2c315dd72ec (patch)
treee017253a7fe284bce5abc4d611b958f27d3a550a /python-torchtext.spec
parent008e577956e083d29f1e89591bd9d2633b8cc238 (diff)
automatic import of python-torchtext
Diffstat (limited to 'python-torchtext.spec')
-rw-r--r--python-torchtext.spec5
1 files changed, 0 insertions, 5 deletions
diff --git a/python-torchtext.spec b/python-torchtext.spec
index 4f5e472..aeda130 100644
--- a/python-torchtext.spec
+++ b/python-torchtext.spec
@@ -10,8 +10,6 @@ License: BSD 3-Clause
URL: https://github.com/pytorch/text
Source0: %{url}/archive/refs/tags/v%{version}.tar.gz#/text-%{version}.tar.gz
-Source1: sentencepiece.zip
-
Patch0: 0001-disable-submodule.patch
BuildRequires: cmake
@@ -29,8 +27,6 @@ BuildRequires: python3-pytorch
%description
Models, data loaders and abstractions for language processing, powered by PyTorch
-%global debug_package %{nil}
-
%package -n python3-%{pypi_name}
Summary: %{summary}
@@ -39,7 +35,6 @@ Models, data loaders and abstractions for language processing, powered by PyTorc
%prep
%autosetup -p1 -n text-%{pypi_version}
-unzip %{SOURCE1} -d third_party/sentencepiece
%build
%py3_build