ralph pushed to python-pyramid-fas-openid (epel7). "Initial commit (#1211382)"

notifications at fedoraproject.org notifications at fedoraproject.org
Tue Apr 14 17:49:46 UTC 2015


>From 5af940461a093a111c4168c680e21f4167235634 Mon Sep 17 00:00:00 2001
From: Ralph Bean <rbean at redhat.com>
Date: Tue, 14 Apr 2015 13:48:26 -0400
Subject: Initial commit (#1211382)


diff --git a/.gitignore b/.gitignore
index e69de29..cb5b440 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/pyramid_fas_openid-0.3.8.tar.gz
diff --git a/python-pyramid-fas-openid.spec b/python-pyramid-fas-openid.spec
new file mode 100644
index 0000000..21dd663
--- /dev/null
+++ b/python-pyramid-fas-openid.spec
@@ -0,0 +1,58 @@
+%{!?_licensedir: %global license %%doc}
+
+%if 0%{?rhel} && 0%{?rhel} <= 6
+%{!?__python2:        %global __python2 /usr/bin/python2}
+%{!?python2_sitelib:  %global python2_sitelib %(%{__python2} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")}
+%{!?python2_sitearch: %global python2_sitearch %(%{__python2} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib(1))")}
+%endif
+
+%global modname pyramid_fas_openid
+
+Name:               python-pyramid-fas-openid
+Version:            0.3.8
+Release:            1%{?dist}
+Summary:            A view for pyramid that functions as an OpenID consumer
+
+Group:              Development/Libraries
+License:            BSD
+URL:                http://pypi.python.org/pypi/pyramid_fas_openid
+Source0:            https://pypi.python.org/packages/source/p/%{modname}/%{modname}-%{version}.tar.gz
+BuildArch:          noarch
+
+BuildRequires:      python2-devel
+BuildRequires:      python-setuptools
+BuildRequires:      python-pyramid
+BuildRequires:      python-openid
+BuildRequires:      python-openid-teams
+BuildRequires:      python-openid-cla
+
+Requires:           python-pyramid
+Requires:           python-openid
+Requires:           python-openid-teams
+Requires:           python-openid-cla
+
+%description
+pyramid_fas_openid provides a view for the Pyramid framework that acts as
+an OpenID consumer for the Fedora Account System.
+
+%prep
+%setup -q -n %{modname}-%{version}
+
+# Remove bundled egg-info in case it exists
+rm -rf %{modname}.egg-info
+
+%build
+%{__python2} setup.py build
+
+%install
+%{__python2} setup.py install -O1 --skip-build --root=%{buildroot}
+
+%files
+%doc README.txt
+#%%license LICENSE
+%{python2_sitelib}/%{modname}/
+%{python2_sitelib}/%{modname}-%{version}*
+
+%changelog
+* Mon Apr 13 2015 Ralph Bean <rbean at redhat.com> - 0.3.8-1
+- initial package for Fedora
diff --git a/sources b/sources
index e69de29..61bcd99 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+7b8d042042ecd8e0b1aef8fea6dfae87  pyramid_fas_openid-0.3.8.tar.gz
-- 
cgit v0.10.2


	http://pkgs.fedoraproject.org/cgit/python-pyramid-fas-openid.git/commit/?h=epel7&id=5af940461a093a111c4168c680e21f4167235634


More information about the scm-commits mailing list