From 611f546825de784687501bced65e968219d5b2ed Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Jun 30 2019 15:40:13 +0000 Subject: update to version 0.5.4 --- diff --git a/.gitignore b/.gitignore index ea36422..1d394df 100644 --- a/.gitignore +++ b/.gitignore @@ -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 diff --git a/00-use-setuptools-not-distutils.patch b/00-use-setuptools-not-distutils.patch index 0dc978c..3c57e87 100644 --- a/00-use-setuptools-not-distutils.patch +++ b/00-use-setuptools-not-distutils.patch @@ -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 = \ + {'': ['*'], diff --git a/python-tomlkit.spec b/python-tomlkit.spec index 5b3833d..41fe253 100644 --- a/python-tomlkit.spec +++ b/python-tomlkit.spec @@ -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 @@ Molten.} 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 @@ Summary: %{summary} %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 @@ rm -rf ./%{tests_name}-%{tests_commit} %changelog +* Sun Jun 30 2019 Fabio Valentini - 0.5.4-1 +- Update to version 0.5.4. + * Sat May 04 2019 Fabio Valentini - 0.5.3-4 - Use setup from setuptools, not distutils.core. diff --git a/sources b/sources index b0768da..7373dbd 100644 --- a/sources +++ b/sources @@ -1,3 +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