summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitignore1
-rw-r--r--python-clang.spec43
-rw-r--r--sources2
3 files changed, 34 insertions, 12 deletions
diff --git a/.gitignore b/.gitignore
index 1257bcc..500bab3 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
/clang-14.0.tar.gz
+/clang-16.0.1.1.tar.gz
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
diff --git a/sources b/sources
index 1573ddc..388679e 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-28a452c55a5923e5f6155b244930ceca clang-14.0.tar.gz
+2aa9e1c6f6f1ed633a366e9cc7ee9e79 clang-16.0.1.1.tar.gz