Hello community,

here is the log from the commit of package python-dephell_changelogs for 
openSUSE:Factory checked in at 2020-03-04 09:46:59
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-dephell_changelogs (Old)
 and      /work/SRC/openSUSE:Factory/.python-dephell_changelogs.new.26092 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-dephell_changelogs"

Wed Mar  4 09:46:59 2020 rev:2 rq:781259 version:0.0.1

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/python-dephell_changelogs/python-dephell_changelogs.changes
      2020-03-03 10:20:40.527200940 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-dephell_changelogs.new.26092/python-dephell_changelogs.changes
   2020-03-04 09:47:09.798170815 +0100
@@ -1,0 +2,6 @@
+Tue Mar  3 13:45:38 CET 2020 - Matej Cepl <[email protected]>
+
+- Add generated setup.py to the tarball, until we have working
+  dephell in the system.
+
+-------------------------------------------------------------------

New:
----
  setup.py

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-dephell_changelogs.spec ++++++
--- /var/tmp/diff_new_pack.K8ZX7M/_old  2020-03-04 09:47:10.530171254 +0100
+++ /var/tmp/diff_new_pack.K8ZX7M/_new  2020-03-04 09:47:10.530171254 +0100
@@ -26,11 +26,14 @@
 License:        MIT
 Group:          Development/Languages/Python
 URL:            https://github.com/dephell/dephell_changelogs
-Source:         
https://github.com/dephell/%{modname}/archive/v.%{version}.tar.gz#/%{modname}-%{version}.tar.gz
+Source0:        
https://github.com/dephell/%{modname}/archive/v.%{version}.tar.gz#/%{modname}-%{version}.tar.gz
+# Temporary measure, until dephell in %%prep actually works
+Source1:        setup.py
 # PATCH-FIX-UPSTREAM add_network_markers.patch gh#dephell/dephell_changelogs#4 
[email protected]
 # add markers for test cases requiring network connection
 Patch0:         add_network_markers.patch
 BuildRequires:  %{python_module base >= 3.5}
+BuildRequires:  %{python_module dephell}
 BuildRequires:  %{python_module pip}
 BuildRequires:  %{python_module requests}
 BuildRequires:  %{python_module setuptools}
@@ -49,12 +52,15 @@
 
 %prep
 %autosetup -p1 -n %{modname}-v.%{version}
+# Doesn’t work ATM
+# dephell deps convert --traceback --level=DEBUG --from pyproject.toml --to 
setup.py
+cp -p %{SOURCE1} .
 
 %build
-%pyproject_wheel
+%python_build
 
 %install
-%pyproject_install
+%python_install
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 
 %check
@@ -63,6 +69,6 @@
 %files %{python_files}
 %license LICENSE
 %doc README.md
-%{python_sitelib}/*
+%{python_sitelib}/%{modname}*
 
 %changelog

++++++ setup.py ++++++
# -*- coding: utf-8 -*-

# DO NOT EDIT THIS FILE!
# This file has been autogenerated by dephell <3
# https://github.com/dephell/dephell

try:
    from setuptools import setup
except ImportError:
    from distutils.core import setup

import os.path

readme = ''
here = os.path.abspath(os.path.dirname(__file__))
readme_path = os.path.join(here, 'README.rst')
if os.path.exists(readme_path):
    with open(readme_path, 'rb') as stream:
        readme = stream.read().decode('utf8')

setup(
    long_description=readme,
    name='dephell_changelogs',
    version='0.0.1',
    description='Find changelog for github repository, local dir, parse 
changelog',
    python_requires='>=3.5',
    project_urls={"homepage": "https://github.com/dephell/dephell_changelogs"},
    author='Gram (@orsinium)',
    author_email='[email protected]',
    classifiers=[
        'Development Status :: 5 - Production/Stable', 'Environment :: Console',
        'Intended Audience :: Developers',
        'License :: OSI Approved :: MIT License',
        'Programming Language :: Python :: 3.5',
        'Programming Language :: Python :: 3.6',
        'Programming Language :: Python :: 3.7',
        'Programming Language :: Python :: 3', 'Programming Language :: Python',
        'Topic :: Software Development :: Libraries :: Python Modules'
    ],
    packages=['dephell_changelogs'],
    package_dir={"": "."},
    package_data={},
    install_requires=['pytest', 'requests'],
    extras_require={"dev": ["pytest-xdist"]},
)

Reply via email to