diff --git a/envisage-6.0.1.tar.gz b/envisage-6.0.1.tar.gz deleted file mode 100644 index 57d6d93131cc27e44fe638182139d2f7411d9903..0000000000000000000000000000000000000000 Binary files a/envisage-6.0.1.tar.gz and /dev/null differ diff --git a/envisage-7.0.3.tar.gz b/envisage-7.0.3.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..5a11746187b79fa3b648e54389aa39a97cfa87b7 Binary files /dev/null and b/envisage-7.0.3.tar.gz differ diff --git a/python-envisage.spec b/python-envisage.spec index c1f009b6613c6f82aad2103e1c74f74d6a7d8adf..e72f21373287e4c050317fcd7c40f116dc707304 100644 --- a/python-envisage.spec +++ b/python-envisage.spec @@ -1,14 +1,13 @@ %global _empty_manifest_terminate_build 0 Name: python-envisage -Version: 6.0.1 +Version: 7.0.3 Release: 1 Summary: Extensible application framework License: BSD URL: https://github.com/enthought/envisage -Source0: https://files.pythonhosted.org/packages/e5/9e/34e059bb69b5510247ea3c1a6589fcd5b302ad097726806c10ea40b10b87/envisage-6.0.1.tar.gz +Source0: https://files.pythonhosted.org/packages/f6/df/0a321fed1f9b212461cbb71c595044d6d308b33a4a6fd770c44eb4afbcbc/envisage-7.0.3.tar.gz BuildArch: noarch - %description Envisage is a Python-based framework for building extensible applications, that is, applications whose functionality can be extended by adding "plug-ins". Envisage provides a standard mechanism for features to be added to an application, whether by the original developer or by someone else. @@ -16,7 +15,10 @@ Envisage is a Python-based framework for building extensible applications, that Summary: Extensible application framework Provides: python-envisage BuildRequires: python3-devel -BuildRequires: python3-setuptools +BuildRequires: python3-wheel +BuildRequires: python3-pip +BuildRequires: python3-flit + %description -n python3-envisage @@ -27,45 +29,22 @@ Provides: python3-envisage-doc Development documents and examples for envisage. %prep -%autosetup -n envisage-6.0.1 +%autosetup -n envisage-7.0.3 %build -%py3_build +%pyproject_build %install -%py3_install +%pyproject_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 . -sed -i 's/\(^.*$\)/"\1"/g' filelist.lst doclist.lst -find %{buildroot} -type f -exec file {} ';' | grep "\" | awk -F ':' '{print $1}' | xargs -i chrpath --delete "{}" -%files -n python3-envisage -f filelist.lst -%dir %{python3_sitelib}/* +%files -n python3-envisage +%{python3_sitelib}/* -%files help -f doclist.lst +%files help %{_docdir}/* %changelog