#2 update to version 0.5.4
Merged 3 months ago by churchyard. Opened 3 months ago by decathorpe.

file modified
+2 -1

@@ -3,5 +3,6 @@

  

  /tomlkit-0.5.3.tar.gz

  /tomlkit-sources-0.5.3.tar.gz

- 

  /toml-test-39bb76d.tar.gz

+ 

+ /tomlkit-0.5.4.tar.gz

@@ -1,11 +1,15 @@

  diff --git a/setup.py b/setup.py

- index b9e735f..46e203d 100644

+ index ebea59f..2279729 100644

  --- a/setup.py

  +++ b/setup.py

- @@ -1,5 +1,5 @@

+ @@ -1,8 +1,8 @@

   # -*- coding: utf-8 -*-

  -from distutils.core import setup

  +from setuptools import setup

   

   packages = \

-  ['tomlkit']

+ -['tests', 'tomlkit']

+ +['tomlkit']

+  

+  package_data = \

+  {'': ['*'],

file modified
+5 -21

@@ -1,7 +1,4 @@

  %global pypi_name tomlkit

- %global tests_name toml-test

- %global tests_commit 39bb76d631ba103a94b377aaf52c979456677fb1

- %global tests_shortcommit %(c=%{tests_commit}; echo ${c:0:7})

  

  %{?python_enable_dependency_generator}

  

@@ -20,19 +17,13 @@

  

  Name:           python-%{pypi_name}

  Summary:        Style preserving TOML library

- Version:        0.5.3

- Release:        4%{?dist}

+ Version:        0.5.4

+ Release:        1%{?dist}

  License:        MIT

  

  URL:            https://github.com/sdispater/tomlkit

  Source0:        %{pypi_source}

  

- # pypi source doesn't have tests

- Source1:        %{url}/archive/%{version}/%{pypi_name}-sources-%{version}.tar.gz

- 

- # data for unit tests from a separate git submodule

- Source2:        https://github.com/BurntSushi/%{tests_name}/archive/%{tests_commit}/%{tests_name}-%{tests_shortcommit}.tar.gz

- 

  # patch setup.py to use setuptools::setup instead of distutils.core::setup

  Patch0:         00-use-setuptools-not-distutils.patch

  

@@ -55,16 +46,6 @@

  %prep

  %autosetup -n %{pypi_name}-%{version} -p1

  

- # extract unit tests

- tar -xzf %{SOURCE1}

- cp -rp ./%{pypi_name}-%{version}/tests ./tests

- rm -rf ./%{pypi_name}-%{version}

- 

- # extract test data

- tar -xzf %{SOURCE2}

- cp -rp ./%{tests_name}-%{tests_commit}/tests/ ./tests/toml-test/

- rm -rf ./%{tests_name}-%{tests_commit}

- 

  

  %build

  %py3_build

@@ -87,6 +68,9 @@

  

  

  %changelog

+ * Sun Jun 30 2019 Fabio Valentini <decathorpe@gmail.com> - 0.5.4-1

+ - Update to version 0.5.4.

+ 

  * Sat May 04 2019 Fabio Valentini <decathorpe@gmail.com> - 0.5.3-4

  - Use setup from setuptools, not distutils.core.

  

file modified
+1 -3

@@ -1,3 +1,1 @@

- SHA512 (tomlkit-0.5.3.tar.gz) = 90939b380fb8c58a1825c45740d599f116adf5075b1efb327ceb72353b1d1b3d6d6b960ed7673d46af586fc3ed56a866a6a8eb8dfc2a78ea128b5b7f214b0b55

- SHA512 (tomlkit-sources-0.5.3.tar.gz) = 68f2c2df5bfe0986a8530bb72d35179be974105a11427a59d8d88ea2c1828284ed5518e9fdd90f82ab508e44e63176f7efb78acccc8f4baaa901805979f32c90

- SHA512 (toml-test-39bb76d.tar.gz) = 931ba91b77da576979bde290c99f6cb1a2eeec3aee55b5041b0216094c584934d560487d329df21caa64b405ec50b4dd417dc910bbe4f15b1440686efc58da29

+ SHA512 (tomlkit-0.5.4.tar.gz) = 7537cca7a4af491d48211739b4f90533d3b5aaad43184c9c414251bc7ccc5531e1b9effd3a92710a6e83207227639d238cebd48a1839e24b0416025af82fb045

  • update to version 0.5.4
  • fixes issues with python 3.8
  • drop additional sources, they are included in the sdist now
  • patch setup.py to remove "tests" package (to prevent it from being installed) 🙄
  • keep patch for setup.py to use setuptools::setup instead of distutils.core::setup

Pull-Request has been merged by churchyard

3 months ago