summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-05-18 06:56:25 +0000
committerCoprDistGit <infra@openeuler.org>2023-05-18 06:56:25 +0000
commite0bb59ebbeeaa1748c2a8b6969c36ce0c92ec482 (patch)
tree104f52faccaa6e25fdd29404567e7859a279a98c
parent6a5b63b083b9a3bf261e8533c6b6589102313ffe (diff)
automatic import of python-mead-layers
-rw-r--r--.gitignore1
-rw-r--r--python-mead-layers.spec101
-rw-r--r--sources1
3 files changed, 103 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..7743ddf 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/mead-layers-2.4.2.tar.gz
diff --git a/python-mead-layers.spec b/python-mead-layers.spec
new file mode 100644
index 0000000..aabeab0
--- /dev/null
+++ b/python-mead-layers.spec
@@ -0,0 +1,101 @@
+%global _empty_manifest_terminate_build 0
+Name: python-mead-layers
+Version: 2.4.2
+Release: 1
+Summary: Reusable Deep-Learning layers for NLP
+License: Apache 2.0
+URL: https://www.github.com/mead-ml/mead-layers
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/2d/9e/e207705a4405bec653ceecd2e6bd64edc9fbe60dbc67e9483a0f9f792ce2/mead-layers-2.4.2.tar.gz
+BuildArch: noarch
+
+Requires: python3-numpy
+Requires: python3-matplotlib
+Requires: python3-pytest
+Requires: python3-mock
+Requires: python3-contextdecorator
+Requires: python3-pytest-forked
+Requires: python3-tensorflow-addons
+Requires: python3-pyyaml
+
+%description
+# Eight Mile
+
+[![PyPi Version](https://img.shields.io/pypi/v/mead-layers)](https://pypi.org/project/mead-layers/) [![Actions Status](https://github.com/mead-ml/mead-layers/workflows/Unit%20Test/badge.svg)](https://github.com/mead-ml/mead-layers/actions) [![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)
+
+Layers built on PyTorch/TensorFlow for reuse in MEAD framework (or a la carte)
+
+
+
+
+%package -n python3-mead-layers
+Summary: Reusable Deep-Learning layers for NLP
+Provides: python-mead-layers
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-mead-layers
+# Eight Mile
+
+[![PyPi Version](https://img.shields.io/pypi/v/mead-layers)](https://pypi.org/project/mead-layers/) [![Actions Status](https://github.com/mead-ml/mead-layers/workflows/Unit%20Test/badge.svg)](https://github.com/mead-ml/mead-layers/actions) [![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)
+
+Layers built on PyTorch/TensorFlow for reuse in MEAD framework (or a la carte)
+
+
+
+
+%package help
+Summary: Development documents and examples for mead-layers
+Provides: python3-mead-layers-doc
+%description help
+# Eight Mile
+
+[![PyPi Version](https://img.shields.io/pypi/v/mead-layers)](https://pypi.org/project/mead-layers/) [![Actions Status](https://github.com/mead-ml/mead-layers/workflows/Unit%20Test/badge.svg)](https://github.com/mead-ml/mead-layers/actions) [![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)
+
+Layers built on PyTorch/TensorFlow for reuse in MEAD framework (or a la carte)
+
+
+
+
+%prep
+%autosetup -n mead-layers-2.4.2
+
+%build
+%py3_build
+
+%install
+%py3_install
+install -d -m755 %{buildroot}/%{_pkgdocdir}
+if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi
+if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi
+if [ -d example ]; then cp -arf example %{buildroot}/%{_pkgdocdir}; fi
+if [ -d examples ]; then cp -arf examples %{buildroot}/%{_pkgdocdir}; fi
+pushd %{buildroot}
+if [ -d usr/lib ]; then
+ find usr/lib -type f -printf "/%h/%f\n" >> filelist.lst
+fi
+if [ -d usr/lib64 ]; then
+ find usr/lib64 -type f -printf "/%h/%f\n" >> filelist.lst
+fi
+if [ -d usr/bin ]; then
+ find usr/bin -type f -printf "/%h/%f\n" >> filelist.lst
+fi
+if [ -d usr/sbin ]; then
+ find usr/sbin -type f -printf "/%h/%f\n" >> filelist.lst
+fi
+touch doclist.lst
+if [ -d usr/share/man ]; then
+ find usr/share/man -type f -printf "/%h/%f.gz\n" >> doclist.lst
+fi
+popd
+mv %{buildroot}/filelist.lst .
+mv %{buildroot}/doclist.lst .
+
+%files -n python3-mead-layers -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Thu May 18 2023 Python_Bot <Python_Bot@openeuler.org> - 2.4.2-1
+- Package Spec generated
diff --git a/sources b/sources
new file mode 100644
index 0000000..28d73ee
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+1de7a8fa2171b72143391d4f2cb05572 mead-layers-2.4.2.tar.gz