Skip to content

Commit 9cb6c93

Browse files
committed
pkg: rename python3-pybadfish to python3-badfish and bump version to 1.0.5
1 parent 34eb672 commit 9cb6c93

File tree

8 files changed

+18
-19
lines changed

8 files changed

+18
-19
lines changed

.github/workflows/push-copr-build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,4 +35,4 @@ jobs:
3535
3636
- name: Submit the build by uploading the source RPM
3737
run: |
38-
copr build quadsdev/python3-pybadfish rpm/*.src.rpm
38+
copr build quadsdev/python3-badfish rpm/*.src.rpm

.github/workflows/source-tarball.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,15 +15,15 @@ jobs:
1515
id: create-tarball
1616
run: |
1717
make tarball
18-
echo "tarball_name=$(ls python3-pybadfish-*.tar.gz | head -n1)" >> $GITHUB_OUTPUT
19-
echo "version=$(ls python3-pybadfish-*.tar.gz | sed 's/python3-pybadfish-\(.*\)\.tar\.gz/\1/')" >> $GITHUB_OUTPUT
18+
echo "tarball_name=$(ls python3-badfish-*.tar.gz | head -n1)" >> $GITHUB_OUTPUT
19+
echo "version=$(ls python3-badfish-*.tar.gz | sed 's/python3-badfish-\(.*\)\.tar\.gz/\1/')" >> $GITHUB_OUTPUT
2020
working-directory: rpm
2121

2222
- name: Upload artifact
2323
uses: actions/upload-artifact@v4
2424
with:
2525
name: source-tarball
26-
path: rpm/python3-pybadfish-*.tar.gz
26+
path: rpm/python3-badfish-*.tar.gz
2727

2828
- name: Create Release and Upload Asset
2929
env:

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<p align="center">
2-
<img src="https://github.com/grafuls/badfish/blob/development/image/badfish-original-licensed.small.png" />
2+
<img src="https://raw.githubusercontent.com/redhat-performance/badfish/development/image/badfish-original-licensed.small.png" />
33
</p>
44

55
<h2 align="center">The Out-of-Band Wrangler</h2>

rpm/Makefile

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,19 +4,19 @@ BUILD_HELPER := ./build-helper
44
VERSION = $(shell $(BUILD_HELPER) --version)
55
RELEASE = $(shell $(BUILD_HELPER) --release)
66
DATE = $(shell date +'%a %b %d %Y')
7-
TARBALL = python3-pybadfish-$(VERSION).tar.gz
7+
TARBALL = python3-badfish-$(VERSION).tar.gz
88

9-
all: python3-pybadfish.spec python3-pybadfish-$(VERSION).tar.gz
9+
all: python3-badfish.spec python3-badfish-$(VERSION).tar.gz
1010

1111
tarball: $(TARBALL)
1212

1313
.PHONY: $(TARBALL)
1414
$(TARBALL):
1515
rm -f $(TARBALL)
16-
( cd .. && git archive --prefix python3-pybadfish-$(VERSION)/ HEAD ) \
16+
( cd .. && git archive --prefix python3-badfish-$(VERSION)/ HEAD ) \
1717
| gzip > "$@"
1818

19-
python3-pybadfish.spec: python3-pybadfish.spec.tpl
19+
python3-badfish.spec: python3-badfish.spec.tpl
2020
@echo " GEN $@" ; \
2121
sed -e "s|@VERSION@|$(VERSION)|g" \
2222
-e "s|@RELEASE@|$(RELEASE)|g" \
@@ -37,13 +37,13 @@ srpm: all
3737
clean:
3838
rm -rf *.src.rpm *.tar.gz *.spec noarch
3939

40-
test: tarball python3-pybadfish.spec
40+
test: tarball python3-badfish.spec
4141
@echo "Moving tarball to rpmbuild/SOURCES directory"
4242
mkdir -p ~/rpmbuild/SOURCES
4343
cp $(TARBALL) ~/rpmbuild/SOURCES/
4444
@echo "Tarball $(TARBALL) successfully moved to rpmbuild/SOURCES"
4545
@echo "Building source RPM from spec file"
46-
SRPM_PATH=$$(rpmbuild -bs python3-pybadfish.spec | grep "Wrote:" | cut -d' ' -f2) && \
46+
SRPM_PATH=$$(rpmbuild -bs python3-badfish.spec | grep "Wrote:" | cut -d' ' -f2) && \
4747
echo "Source RPM build completed: $$SRPM_PATH" && \
4848
echo "Running mock build with the generated SRPM" && \
4949
mock -r fedora-rawhide-x86_64 -n $$SRPM_PATH && \
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,14 @@ vendors. Badfish is also a popular song from Sublime, this may be a \
77
coincidence – are you a badfish too?
88

99

10-
Name: python3-py%{project}
10+
Name: python3-%{project}
1111
Version: @VERSION@
1212
Release: @RELEASE@%{?dist}
1313
Summary: %{sum}
1414

1515
License: GPL-3.0-or-later and MIT
1616
URL: https://github.com/%{org}/%{project}
17-
Source: %{url}/releases/download/v%{version}/python3-pybadfish-%{version}.tar.gz
17+
Source: %{url}/releases/download/v%{version}/python3-badfish-%{version}.tar.gz
1818

1919
BuildArch: noarch
2020
BuildRequires: %{py3_dist setuptools}
@@ -48,7 +48,7 @@ tox -e py3 run-parallel --skip-missing-interpreters false
4848
%files -n %{name}
4949
%doc README.md
5050
%license LICENSE
51-
%{python3_sitelib}/py%{project}-%{version}.dist-info/
51+
%{python3_sitelib}/%{project}-%{version}.dist-info/
5252
%{python3_sitelib}/%{project}/
5353
%{_bindir}/%{project}
5454

setup.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[metadata]
2-
name = pybadfish
2+
name = badfish
33
author = Gonzalo Rafuls
44
author_email = gonza@redhat.com
55
description = Badfish is a Redfish-based API tool for managing bare-metal systems via the Redfish API

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import setuptools
22

33
setuptools.setup(
4-
version="1.0.4"
4+
version="1.0.5"
55
)

tox.ini

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,11 @@
11
[tox]
2-
envlist = py{38,39,310,311,312}, flake8
2+
envlist = py{310,311,312,313,314}, flake8
33

44
[testenv]
55
deps = -rtests/test-requirements.txt
66
commands = {posargs:pytest -p no:warnings}
77

8-
[testenv:py39]
9-
passenv = CI TRAVIS TRAVIS_*
8+
[testenv:py310]
109
deps =
1110
pytest-cov
1211
{[testenv]deps}

0 commit comments

Comments
 (0)