-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Changes for building fakeredis and Flor rpm
- Loading branch information
1 parent
e0f843c
commit e9324b9
Showing
7 changed files
with
65 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -416,10 +416,11 @@ description_long: Discover and load entry points from installed packages | |
version: >=1.1.0 | ||
dpkg_build_dependencies: python3-poetry-core | ||
build_system: poetry | ||
maintainer: Bruce Merry <[email protected]> | ||
homepage_url: https://github.com/jamesls/fakeredis | ||
rpm_template_spec: fakeredis.spec | ||
maintainer: Daniel Moran <[email protected]> | ||
homepage_url: https://github.com/cunla/fakeredis-py | ||
download_url: https://pypi.org/project/fakeredis | ||
git_url: https://github.com/jamesls/fakeredis.git | ||
git_url: https://github.com/cunla/fakeredis-py.git | ||
description_short: A fake version of a redis-py | ||
description_long: Fake implementation of redis API (redis-py) for testing | ||
purposes | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
%define name fakeredis | ||
%define version {version} | ||
%define release 1 | ||
|
||
Name: %{{name}} | ||
Version: %{{version}} | ||
Release: %{{release}} | ||
Summary: A fake version of a redis-py | ||
License: BSD-3-Clause | ||
URL: https://github.com/cunla/fakeredis-py | ||
Source: %{{name}}-%{{version}}.tar.gz | ||
BuildArch: noarch | ||
BuildRequires: python3-devel, python3-poetry-core, python3-tox-current-env | ||
|
||
%description | ||
Fake implementation of redis API (redis-py) for testing purposes | ||
|
||
%package -n python3-%{{name}} | ||
Summary: A fake version of a redis-py | ||
|
||
%description -n python3-%{{name}} | ||
Fake implementation of redis API (redis-py) for testing purposes | ||
|
||
%prep | ||
%autosetup -p1 -n %{{name}}-%{{version}} | ||
|
||
%generate_buildrequires | ||
%pyproject_buildrequires -t | ||
|
||
%build | ||
%pyproject_wheel | ||
|
||
%install | ||
%pyproject_install | ||
|
||
%files -n python3-%{{name}} | ||
%license LICENSE | ||
%doc README.md | ||
%{{python3_sitelib}}/fakeredis | ||
%{{python3_sitelib}}/fakeredis*.dist-info | ||
|
||
%changelog | ||
* {date_time} log2timeline development team <[email protected]> {version}-1 | ||
- Auto-generated |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters