Repository: ansible-community/antsibull-build (language: python)

Issue:
Rename antsibull project to antsibull-build
Rebased version of #629.

Closes #629.
Fixes #627.


Discussion / hints:
@gotmax23 I rebased your commits and added two more to rename the Python module accordingly, and to bump the stub's version to 0.67.0 since [antsibull 0.66.0 is already there](https://pypi.org/project/antsibull/0.66.0/). Does this look good to you? I'd like to get this merged, the repo renamed, and antsibull-build 0.66.0 released soon so I can start working on antsibull-build again (https://github.com/ansible-community/ansible-build-data/pull/478#issuecomment-2408025603).
I have two follow-up changes prepared:
- https://github.com/ansible-community/nightly-builds/compare/antsibull-build
- https://github.com/ansible-community/ansible-build-data/compare/main...felixfontein:ansible-build-data:antsibull-build
Thank you!
@gotmax23 thanks for suggesting and preparing this!

Fix patch:
diff --git a/changelogs/fragments/636-rename.yml b/changelogs/fragments/636-rename.yml
new file mode 100644
index 00000000..5a83cd76
--- /dev/null
+++ b/changelogs/fragments/636-rename.yml
@@ -0,0 +1,2 @@
+bugfixes:
+  - "Adjust the rebuild script included in Ansible releases to install antsibull-build instead of antsibull (https://github.com/ansible-community/antsibull-build/pull/636)."
diff --git a/src/antsibull_build/data/build-ansible.sh.j2 b/src/antsibull_build/data/build-ansible.sh.j2
index 0cb68ef4..6e4dc12f 100644
--- a/src/antsibull_build/data/build-ansible.sh.j2
+++ b/src/antsibull_build/data/build-ansible.sh.j2
@@ -15,7 +15,7 @@ MAJOR="{{ version.major }}"
 # For idempotency, remove build data or built output first
 rm -rf ansible-build-data built
 
-pip3 install --user --upgrade "antsibull=={{ antsibull_version }}"
+pip3 install --user --upgrade "antsibull-build=={{ antsibull_version }}"
 git clone https://github.com/ansible-community/ansible-build-data.git
 mkdir -p built collection-cache
 


Test patch:
diff --git a/tests/test_data/package-files/7.5.0/build-ansible.sh b/tests/test_data/package-files/7.5.0/build-ansible.sh
index 8582de56..c7e4cc67 100755
--- a/tests/test_data/package-files/7.5.0/build-ansible.sh
+++ b/tests/test_data/package-files/7.5.0/build-ansible.sh
@@ -11,7 +11,7 @@ MAJOR="7"
 # For idempotency, remove build data or built output first
 rm -rf ansible-build-data built
 
-pip3 install --user --upgrade "antsibull==(ANTSIBULL_VERSION)"
+pip3 install --user --upgrade "antsibull-build==(ANTSIBULL_VERSION)"
 git clone https://github.com/ansible-community/ansible-build-data.git
 mkdir -p built collection-cache
 BUILD_DATA_DIR="ansible-build-data/${MAJOR}"
diff --git a/tests/test_data/package-files/8.1.0/build-ansible.sh b/tests/test_data/package-files/8.1.0/build-ansible.sh
index 01e5f402..1f894754 100755
--- a/tests/test_data/package-files/8.1.0/build-ansible.sh
+++ b/tests/test_data/package-files/8.1.0/build-ansible.sh
@@ -11,7 +11,7 @@ MAJOR="8"
 # For idempotency, remove build data or built output first
 rm -rf ansible-build-data built
 
-pip3 install --user --upgrade "antsibull==(ANTSIBULL_VERSION)"
+pip3 install --user --upgrade "antsibull-build==(ANTSIBULL_VERSION)"
 git clone https://github.com/ansible-community/ansible-build-data.git
 mkdir -p built collection-cache
 BUILD_DATA_DIR="ansible-build-data/${MAJOR}"
diff --git a/tests/test_data/package-files/force_setup_cfg/8.1.0/build-ansible.sh b/tests/test_data/package-files/force_setup_cfg/8.1.0/build-ansible.sh
index 01e5f402..1f894754 100755
--- a/tests/test_data/package-files/force_setup_cfg/8.1.0/build-ansible.sh
+++ b/tests/test_data/package-files/force_setup_cfg/8.1.0/build-ansible.sh
@@ -11,7 +11,7 @@ MAJOR="8"
 # For idempotency, remove build data or built output first
 rm -rf ansible-build-data built
 
-pip3 install --user --upgrade "antsibull==(ANTSIBULL_VERSION)"
+pip3 install --user --upgrade "antsibull-build==(ANTSIBULL_VERSION)"
 git clone https://github.com/ansible-community/ansible-build-data.git
 mkdir -p built collection-cache
 BUILD_DATA_DIR="ansible-build-data/${MAJOR}"