public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Seth Jennings <spartacus06@gmail.com>
To: git-commits@fedoraproject.org
Subject: [rpms/pyscard] epel10.2: New subpackage for python3 build
Date: Fri, 21 Aug 2026 02:57:02 GMT [thread overview]
Message-ID: <178728102266.1.14793963785688445346.rpms-pyscard-38f79ca2fe09@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/pyscard
Branch : epel10.2
Commit : 38f79ca2fe09ccc7f56e486c258db6df0b863977
Author : Seth Jennings <spartacus06@gmail.com>
Date : 2015-09-01T10:30:00-05:00
Stats : +34/-7 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/pyscard/c/38f79ca2fe09ccc7f56e486c258db6df0b863977?branch=epel10.2
Log:
New subpackage for python3 build
---
diff --git a/pyscard.spec b/pyscard.spec
index 862d1ec..c28cb9f 100644
--- a/pyscard.spec
+++ b/pyscard.spec
@@ -1,6 +1,6 @@
Name: pyscard
Version: 1.9.0
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: A framework for building smart card aware applications in Python
Group: Development/Libraries
@@ -13,36 +13,63 @@ License: LGPLv2+ and Python and CC-BY-SA
URL: https://sourceforge.net/projects/pyscard/
Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
+BuildRequires: python2-devel
BuildRequires: python3-devel
BuildRequires: pcsc-lite-devel
BuildRequires: swig >= 1.3.31
Requires: pcsc-lite
%description
-The pyscard smartcard library is a framework for building smart card aware
-applications in Python. The smartcard module is built on top of the PCSC API
+The pyscard smartcard library is a framework for building smart card aware
+applications in Python. The smartcard module is built on top of the PCSC API
Python wrapper module.
+This is the python2 package.
+
+%package -n python3-%{name}
+Summary: A framework for building smart card aware applications in Python
+Requires: pcsc-lite
+
+%description -n python3-%{name}
+The pyscard smartcard library is a framework for building smart card aware
+applications in Python. The smartcard module is built on top of the PCSC API
+Python wrapper module.
+
+This is the python3 package.
+
%prep
%setup -q
# license file is CRLF terminated -- prevent a rpmlint warning
sed -i 's/\r//' LICENSE
%build
-CFLAGS="$RPM_OPT_FLAGS" %{__python3} setup.py build
+%{__python2} setup.py build
+%{__python3} setup.py build
%install
-%{__python3} setup.py install -O1 --skip-build --root %{buildroot}
-chmod 755 %{buildroot}%{python3_sitearch}/smartcard/scard/_scard.*.so
+%{__python2} setup.py install --root %{buildroot}
+chmod 755 %{buildroot}%{python2_sitearch}/smartcard/scard/*.so
+%{__python3} setup.py install --root %{buildroot}
+chmod 755 %{buildroot}%{python3_sitearch}/smartcard/scard/*.so
%files
%license LICENSE
%doc README
%doc smartcard/doc/*
+%{python2_sitearch}/smartcard/
+%{python2_sitearch}/%{name}-%{version}-py*.egg-info
+
+%files -n python3-%{name}
+%license LICENSE
+%doc README
+%doc smartcard/doc/*
%{python3_sitearch}/smartcard/
-%{python3_sitearch}/%{name}-%{version}-py*.egg-info
+%{python3_sitearch}/%{name}-%{version}-py*.egg-info
%changelog
+* Mon Aug 31 2015 Seth Jennings <spartacus06@gmail.com> 1.9.0-2
+- New subpackage for python3 build
+
* Fri Aug 14 2015 Nikos Mavrogiannopoulos <nmav@redhat.com> 1.9.0-1
- New upstream release
- Built with python3
reply other threads:[~2026-08-21 2:57 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=178728102266.1.14793963785688445346.rpms-pyscard-38f79ca2fe09@fedoraproject.org \
--to=spartacus06@gmail.com \
--cc=git-commits@fedoraproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox