pkilambi pushed to python-pytimeparse (f20). "Initial import #1215261"
notifications at fedoraproject.org
notifications at fedoraproject.org
Fri May 15 14:02:15 UTC 2015
From 04b202f9d4f74b1ed3ad3d2f2fd68cfc1b09e178 Mon Sep 17 00:00:00 2001
From: Pradeep Kilambi <pkilambi at redhat.com>
Date: Fri, 8 May 2015 13:21:14 -0400
Subject: Initial import #1215261
diff --git a/.gitignore b/.gitignore
index e69de29..0c2eb5d 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/pytimeparse-1.1.4.tar.gz
diff --git a/python-pytimeparse.spec b/python-pytimeparse.spec
new file mode 100644
index 0000000..728539b
--- /dev/null
+++ b/python-pytimeparse.spec
@@ -0,0 +1,40 @@
+%{!?__python2: %global __python2 /usr/bin/python2}
+%{!?python2_sitelib: %global python2_sitelib %(%{__python2} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")}
+%global pypi_name pytimeparse
+
+Name: python-pytimeparse
+Version: 1.1.4
+Release: 1%{?dist}
+Summary: Python time expression parse library
+License: MIT
+URL: https://github.com/wroberts/pytimeparse
+Source0: https://pypi.python.org/packages/source/p/%{pypi_name}/%{pypi_name}-%{version}.tar.gz
+BuildArch: noarch
+
+BuildRequires: python-setuptools
+BuildRequires: python2-devel
+
+%description
+A small Python library to parse various kinds of time expressions
+
+%prep
+%setup -q -n %{pypi_name}-%{version}
+
+%build
+
+%{__python2} setup.py build
+
+%install
+%{__python2} setup.py install --skip-build --root %{buildroot}
+
+%files
+%{python2_sitelib}/pytimeparse
+%{python2_sitelib}/pytimeparse*.egg-info
+%doc README.rst
+
+
+%changelog
+* Tue May 05 2015 Pradeep Kilambi <pkilambi at redhat.com> 1.1.4
+- initial package release
+
+
diff --git a/sources b/sources
index e69de29..7d3b8b2 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+0686de76c91e1d9b44c53026831dd70b pytimeparse-1.1.4.tar.gz
--
cgit v0.10.2
http://pkgs.fedoraproject.org/cgit/python-pytimeparse.git/commit/?h=f20&id=04b202f9d4f74b1ed3ad3d2f2fd68cfc1b09e178
More information about the scm-commits
mailing list