summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHyunjee Kim <hj0426.kim@samsung.com>2020-04-10 09:08:42 +0900
committerHyunjee Kim <hj0426.kim@samsung.com>2020-04-10 09:08:49 +0900
commita49a4453f9c2557aeeea09798920c46dfbeff7a6 (patch)
treee2da5d4ce53ad40dda20fdeae95579f49c191755
parentf02100c0c9eda7d36f259f9d768bb2eaa94d5616 (diff)
downloadpython-cairo-accepted/tizen_6.0_unified_hotfix.tar.gz
python-cairo-accepted/tizen_6.0_unified_hotfix.tar.bz2
python-cairo-accepted/tizen_6.0_unified_hotfix.zip
This reverts commit c80c259dc394edeefa34e3eff9e9354f293c67fb. Change-Id: I58d64b47b67338784cd57a14dc58cc50b69e3f82 Signed-off-by: Hyunjee Kim <hj0426.kim@samsung.com>
-rw-r--r--packaging/python3-cairo.manifest5
-rw-r--r--packaging/python3-cairo.spec66
2 files changed, 0 insertions, 71 deletions
diff --git a/packaging/python3-cairo.manifest b/packaging/python3-cairo.manifest
deleted file mode 100644
index 017d22d..0000000
--- a/packaging/python3-cairo.manifest
+++ /dev/null
@@ -1,5 +0,0 @@
-<manifest>
- <request>
- <domain name="_"/>
- </request>
-</manifest>
diff --git a/packaging/python3-cairo.spec b/packaging/python3-cairo.spec
deleted file mode 100644
index c56ac0c..0000000
--- a/packaging/python3-cairo.spec
+++ /dev/null
@@ -1,66 +0,0 @@
-Name: python3-cairo
-Version: 1.17.1
-Release: 0
-Summary: Python Bindings for Cairo
-License: LGPL-2.1+ or MPL-1.1
-Group: Development/Libraries/Python
-# FIXME: on update, check if we still need to manually compile the byte-code in %%install
-Url: http://www.cairographics.org/
-Source: py3cairo-%{version}.tar.bz2
-Source1001: python3-cairo.manifest
-BuildRequires: cairo-devel
-BuildRequires: fdupes
-BuildRequires: python3-devel
-
-%description
-Python3 bindings for cairo.
-
-%package devel
-Summary: Headers for python3-cairo
-Group: Development/Libraries/C and C++
-Requires: %name = %{version}
-Requires: cairo-devel
-Requires: python3-devel
-
-%description devel
-Headers for python3-cairo
-
-%prep
-%setup -n py3cairo-%{version}
-cp %{SOURCE1001} .
-
-%build
-export CFLAGS='%{optflags}'
-%{_bindir}/python3 setup.py build
-
-%install
-mkdir -p %{buildroot}/%{python3_sitearch}/cairo
-%{_bindir}/python3 setup.py install --skip-build \
- --install-base=%{buildroot} \
- --install-lib=%{buildroot}%{python3_sitearch} \
- --install-purelib=%{buildroot}%{_libdir} \
- --install-scripts=%{buildroot}%{_bindir} \
- --install-headers=%{buildroot}%{_includedir} \
- --install-data=%{buildroot}%{_usr}
-rm -f %{buildroot}/%{python3_sitearch}/*.egg-info
-rm -rf %{buildroot}/%{python3_sitearch}/cairo/include
-rm -f %{buildroot}/%{python3_sitearch}/cairo/*.pyi
-rm -f %{buildroot}/%{python3_sitearch}/cairo/*.typed
-
-%py_compile %{buildroot}/%{python3_sitearch}
-%py_compile -O %{buildroot}/%{python3_sitearch}
-%fdupes %{buildroot}/%{python3_sitearch}
-
-%files
-%manifest %{name}.manifest
-%defattr(-,root,root)
-%doc COPYING COPYING-*
-%{python3_sitearch}/cairo/
-
-%files devel
-%manifest %{name}.manifest
-%defattr(-,root,root)
-%{_includedir}/pycairo/
-%{_libdir}/pkgconfig/py3cairo.pc
-
-%changelog