summaryrefslogtreecommitdiff
path: root/python-clang.spec
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-04-21 03:07:32 +0000
committerCoprDistGit <infra@openeuler.org>2023-04-21 03:07:32 +0000
commit6f4c91fab2183bbbc78d6a5071cebf8602408ffa (patch)
treecc74f4e12c504127ce91cfcb720abb427f384c52 /python-clang.spec
parent754470c63d6aae55a6078479c7189de8a1f31c71 (diff)
automatic import of python-clangopeneuler20.03
Diffstat (limited to 'python-clang.spec')
-rw-r--r--python-clang.spec43
1 files changed, 32 insertions, 11 deletions
diff --git a/python-clang.spec b/python-clang.spec
index ae9b07d..c3902ff 100644
--- a/python-clang.spec
+++ b/python-clang.spec
@@ -1,20 +1,27 @@
%global _empty_manifest_terminate_build 0
Name: python-clang
-Version: 14.0
+Version: 16.0.1.1
Release: 1
Summary: libclang python bindings
-License: License :: OSI Approved :: University of Illinois/NCSA Open Source License
+License: Apache-2.0 with LLVM exception
URL: http://clang.llvm.org/
-Source0: https://mirrors.nju.edu.cn/pypi/web/packages/5b/1f/0cde370a9b3f51d8aee106c50d0acf84f088de0d8c99e65b924443314c13/clang-14.0.tar.gz
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/b9/29/c85bb267438ad82e4d9c5091cdb515562c4964ad808fc77bfce9a8bca793/clang-16.0.1.1.tar.gz
BuildArch: noarch
%description
This is the python bindings subdir of llvm clang repository.
-https://github.com/llvm-mirror/clang/tree/master/bindings/python
+https://github.com/llvm/llvm-project/tree/main/clang/bindings/python
-This is a non-official packaging directly from the debian packages for the purpose of pypi package.
+This is a non-official packaging directly from the debian packages for the purpose of creating a pypi package.
+Build repository at https://github.com/trolldbois/python-clang/
+
+Install with
+ pip install clang
+ pip install clang==14
+
+You will need to install llvm libclang libraries, which are not packaged with this package.
@@ -26,10 +33,17 @@ BuildRequires: python3-setuptools
BuildRequires: python3-pip
%description -n python3-clang
This is the python bindings subdir of llvm clang repository.
-https://github.com/llvm-mirror/clang/tree/master/bindings/python
+https://github.com/llvm/llvm-project/tree/main/clang/bindings/python
+
+This is a non-official packaging directly from the debian packages for the purpose of creating a pypi package.
-This is a non-official packaging directly from the debian packages for the purpose of pypi package.
+Build repository at https://github.com/trolldbois/python-clang/
+Install with
+ pip install clang
+ pip install clang==14
+
+You will need to install llvm libclang libraries, which are not packaged with this package.
@@ -38,15 +52,22 @@ Summary: Development documents and examples for clang
Provides: python3-clang-doc
%description help
This is the python bindings subdir of llvm clang repository.
-https://github.com/llvm-mirror/clang/tree/master/bindings/python
+https://github.com/llvm/llvm-project/tree/main/clang/bindings/python
+
+This is a non-official packaging directly from the debian packages for the purpose of creating a pypi package.
+
+Build repository at https://github.com/trolldbois/python-clang/
-This is a non-official packaging directly from the debian packages for the purpose of pypi package.
+Install with
+ pip install clang
+ pip install clang==14
+You will need to install llvm libclang libraries, which are not packaged with this package.
%prep
-%autosetup -n clang-14.0
+%autosetup -n clang-16.0.1.1
%build
%py3_build
@@ -86,5 +107,5 @@ mv %{buildroot}/doclist.lst .
%{_docdir}/*
%changelog
-* Wed Mar 08 2023 Python_Bot <Python_Bot@openeuler.org> - 14.0-1
+* Fri Apr 21 2023 Python_Bot <Python_Bot@openeuler.org> - 16.0.1.1-1
- Package Spec generated