Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
Please login to access the resource
home:PSuarezHernandez:bundlenew:Ubuntu1804
saltbundlepy-apt
saltbundlepy-apt.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File saltbundlepy-apt.spec of Package saltbundlepy-apt
# # spec file for package saltbundlepy-apt # # Copyright (c) 2021 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via https://bugs.opensuse.org/ # %{?!saltbundlepy_module:%define saltbundlepy_module() saltbundlepy-%{**}} %define pythons saltbundlepy Name: saltbundlepy-apt Version: 1.6.5.0.5 %define real_version 1.6.5ubuntu0.5 Release: 0 Summary: Python interface to libapt-pkg License: GPL-2.0-only Group: Development/Libraries/Python URL: https://launchpad.net/python-apt Source: https://launchpad.net/ubuntu/+archive/primary/+sourcefiles/python-apt/1.6.5ubuntu0.5/python-apt_%{real_version}.tar.xz Patch0: fix-collections-on-python3-10.patch # https://bugzilla.suse.com/show_bug.cgi?id=1206124 Patch1: 0000-handle-signed-by-in-sources-list.patch BuildRequires: %{saltbundlepy_module devel >= 3.10} BuildRequires: %{saltbundlepy_module setuptools-scm} BuildRequires: fdupes BuildRequires: libapt-pkg-dev BuildRequires: saltbundlepy-rpm-macros Requires: saltbundlepy-apt-common BuildRoot: %{_tmppath}/%{name}-%{real_version}-build %python_subpackages %description Python interface to libapt-pkg The apt_pkg Python interface will provide full access to the internal libapt-pkg structures allowing Python programs to easily perform a variety of functions, such as: - Access to the APT configuration system - Access to the APT package information database - Parsing of Debian package control files, and other files with a similar structure The included 'aptsources' Python interface provides an abstraction of the sources.list configuration on the repository and the distro level. %package common Summary: Python interface to libapt-pkg (locales) Group: Development/Libraries/Python BuildArch: noarch Provides: %{saltbundlepy_module apt-common} %description common Python interface to libapt-pkg (locales) The apt_pkg Python interface will provide full access to the internal libapt-pkg structures allowing Python programs to easily perform a variety of functions. This package contains locales. %prep %setup -q -n python-apt-%{real_version} %autopatch -p1 sed -i "s|version=get_version()|version='%{version}'|" setup.py %build DEBVER="%{version}" %python_build %install %python_install %python_expand %fdupes %{buildroot}%{$python_sitelib} %files %{python_files} %license COPYING.GPL %doc README.md AUTHORS %{python_sitelib} %files common %license COPYING.GPL %doc README.md AUTHORS %{_datadir}/python-apt/templates %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor