diff --git a/patterns-devel-python.changes b/patterns-devel-python.changes index a105ee3..1ffbfa3 100644 --- a/patterns-devel-python.changes +++ b/patterns-devel-python.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Thu Jan 25 13:56:56 UTC 2018 - tchvatal@suse.com + +- Kill python2 devel pattern as we want people to use just the + python3 one. +- Reshape the python3 devel pattern to recommend only basic set + of tools to start actual development + ------------------------------------------------------------------- Tue May 23 11:23:11 UTC 2017 - dimstar@opensuse.org diff --git a/patterns-devel-python.spec b/patterns-devel-python.spec index a585c92..90c363a 100644 --- a/patterns-devel-python.spec +++ b/patterns-devel-python.spec @@ -1,7 +1,7 @@ # # spec file for package patterns-devel-python # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,17 +16,14 @@ # -%bcond_with betatest - Name: patterns-devel-python -Version: 20170319 +Version: 20180125 Release: 0 Summary: Patterns for Installation (Python devel) License: MIT Group: Metapackages Url: https://github.com/openSUSE/patterns Source0: %{name}-rpmlintrc -BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: patterns-rpm-macros %description @@ -36,83 +33,29 @@ not make sense. This particular package contains all the python patterns. -################################################################################ - -%package devel_python -%pattern_development -Summary: Python Development -Group: Metapackages -Provides: pattern() = devel_python -Provides: pattern-icon() = pattern-basis-devel -Provides: pattern-order() = 3360 -Provides: pattern-visible() - -Recommends: pychecker -Recommends: python -Recommends: python-devel -Suggests: eric -Suggests: libxml2-python -Suggests: libxslt-python -Suggests: python-cairo-devel -Suggests: python-gnome-devel -Suggests: python-gobject2-devel -Suggests: python-gtk-devel -Suggests: python-ldap -Suggests: python-qt4 -Suggests: python-wxWidgets -Suggests: python-xml -Suggests: treeline -Suggests: python-python-dateutil -Suggests: python-fcgi -Suggests: python-gdbm -Suggests: python-httplib2 -Suggests: python-pyOpenSSL -Suggests: python-opensync -Suggests: python-pam -Suggests: python-pygame -Suggests: python-pyserial -Suggests: python-Twisted -Suggests: python-zope.interface - -%description devel_python -Tools and libraries for software development using the Python programming language. - -%files devel_python -%dir /usr/share/doc/packages/patterns -/usr/share/doc/packages/patterns/devel_python.txt - -################################################################################ - %package devel_python3 %pattern_development -Summary: Python 3 Developement -Group: Metapackages Provides: pattern() = devel_python3 Provides: pattern-icon() = pattern-basis-devel Provides: pattern-order() = 3359 Provides: pattern-visible() - +Summary: Python 3 Developement +Group: Metapackages Recommends: python3 Recommends: python3-devel -Suggests: python3-lxml -Suggests: python3-pip -Suggests: python3-Cython -Suggests: python3-setuptools -Suggests: python3-requests -Suggests: python3-pyOpenSSL -Suggests: python3-pycrypto -Suggests: python3-simplejson -Suggests: python3-Sphinx -Suggests: python3-docutils -Suggests: python3-Jinja2 -Suggests: python3-coverage -Suggests: python3-nose +Recommends: python3-flake8 +Recommends: python3-pip +Recommends: python3-pytest +Recommends: python3-requests +Recommends: python3-setuptools +Recommends: python3-tox +Recommends: python3-virtualenv %description devel_python3 %files devel_python3 -%dir /usr/share/doc/packages/patterns -/usr/share/doc/packages/patterns/devel_python3.txt +%dir %{_docdir}/patterns +%{_docdir}/patterns/devel_python3.txt ################################################################################ @@ -121,8 +64,7 @@ Suggests: python3-nose %build %install -mkdir -p $RPM_BUILD_ROOT/usr/share/doc/packages/patterns/ -echo 'This file marks the pattern devel_python to be installed.' > $RPM_BUILD_ROOT/usr/share/doc/packages/patterns/devel_python.txt -echo 'This file marks the pattern devel_python3 to be installed.' > $RPM_BUILD_ROOT/usr/share/doc/packages/patterns/devel_python3.txt +mkdir -p %{buildroot}%{_docdir}/patterns/ +echo 'This file marks the pattern devel_python3 to be installed.' > %{buildroot}%{_docdir}/patterns/devel_python3.txt %changelog