From fb620b0166cf6eff8eaddb70312821d85ece01f9 Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: Nov 28 2017 17:22:11 +0000 Subject: import python-pytoml-0.1.14-1.git7dea353.el7 --- diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..511c4dc --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/pytoml-7dea353c8f02c8d02df1acd72121413823b574cc.tar.gz diff --git a/.python-pytoml.metadata b/.python-pytoml.metadata new file mode 100644 index 0000000..c5e4419 --- /dev/null +++ b/.python-pytoml.metadata @@ -0,0 +1 @@ +6e3e37ac5bac13cbfb253cca27aa3ac616d2f905 SOURCES/pytoml-7dea353c8f02c8d02df1acd72121413823b574cc.tar.gz diff --git a/README.md b/README.md deleted file mode 100644 index 98f42b4..0000000 --- a/README.md +++ /dev/null @@ -1,4 +0,0 @@ -The master branch has no content - -Look at the c7 branch if you are working with CentOS-7, or the c4/c5/c6 branch for CentOS-4, 5 or 6 -If you find this file in a distro specific branch, it means that no content has been checked in yet diff --git a/SPECS/python-pytoml.spec b/SPECS/python-pytoml.spec new file mode 100644 index 0000000..4fd4f12 --- /dev/null +++ b/SPECS/python-pytoml.spec @@ -0,0 +1,43 @@ +%global project_owner avakar +%global github_name pytoml +%global commit 7dea353c8f02c8d02df1acd72121413823b574cc +%global shortcommit %(c=%{commit}; echo ${c:0:7}) +%global sum Parser for TOML +%global desc A parser for TOML-0.4.0 + + +Name: python-%{github_name} +Version: 0.1.14 +Release: 1.git%{shortcommit}%{?dist} +Summary: %{sum} + +License: MIT +# Take source from github since the license file is not provided in pypi release. +URL: https://github.com/%{project_owner}/%{github_name} +Source0: https://github.com/%{project_owner}/%{github_name}/archive/%{commit}/%{github_name}-%{commit}.tar.gz +BuildArch: noarch +BuildRequires: python2-devel +BuildRequires: python-setuptools +Provides: python2-pytoml = %{version}-%{release} + +%description +%{desc} + +%prep +%setup -qn %{github_name}-%{commit} + +%build +%py2_build + +%install +%py2_install + +%files +%doc README.md +%license LICENSE +%{python2_sitelib}/%{github_name}-%{version}*-py%{python2_version}.egg-info/ +%{python2_sitelib}/%{github_name}/ + +%changelog +* Wed Oct 11 2017 Brent Baude - 0.1.14-1.git7dea353 +- initial package; spec from EPEL