scons package is retired on branch c10s for CS-2063
This commit is contained in:
parent
36b7734667
commit
768810dd6a
44
.gitignore
vendored
44
.gitignore
vendored
@ -1,44 +0,0 @@
|
||||
/scons-2.0.1.tar.gz
|
||||
/scons-2.1.0.tar.gz
|
||||
/scons-2.2.0.tar.gz
|
||||
/scons-2.3.0.tar.gz
|
||||
/scons-2.3.1.tar.gz
|
||||
/scons-2.3.2.tar.gz
|
||||
/scons-2.3.3.tar.gz
|
||||
/scons-2.3.4.tar.gz
|
||||
/scons-2.3.5.tar.gz
|
||||
/scons-2.3.6.tar.gz
|
||||
/scons-2.4.1.tar.gz
|
||||
/scons-2.5.0.tar.gz
|
||||
/scons-2.5.1.tar.gz
|
||||
/scons-3.0.0.tar.gz
|
||||
/scons-3.0.1.tar.gz
|
||||
/scons-3.0.4.tar.gz
|
||||
/scons-3.0.5.tar.gz
|
||||
/scons-doc-3.0.5.tar.gz
|
||||
/scons-3.1.0.tar.gz
|
||||
/scons-doc-3.1.0.tar.gz
|
||||
/scons-3.1.1.tar.gz
|
||||
/scons-doc-3.1.1.tar.gz
|
||||
/scons-3.1.2.tar.gz
|
||||
/scons-doc-3.1.2.tar.gz
|
||||
/scons-4.0.0.tar.gz
|
||||
/scons-doc-4.0.0.tar.gz
|
||||
/scons-4.0.1.tar.gz
|
||||
/scons-doc-4.0.1.tar.gz
|
||||
/scons-4.1.0.tar.gz
|
||||
/scons-doc-4.1.0.tar.gz
|
||||
/scons-4.2.0.tar.gz
|
||||
/scons-doc-4.2.0.tar.gz
|
||||
/scons-4.3.0.tar.gz
|
||||
/scons-doc-4.3.0.tar.gz
|
||||
/scons-4.4.0.tar.gz
|
||||
/scons-doc-4.4.0.tar.gz
|
||||
/scons-4.5.0.tar.gz
|
||||
/scons-doc-4.5.0.tar.gz
|
||||
/scons-4.5.1.tar.gz
|
||||
/scons-doc-4.5.1.tar.gz
|
||||
/scons-4.5.2.tar.gz
|
||||
/scons-doc-4.5.2.tar.gz
|
||||
/SCons-4.6.0.tar.gz
|
||||
/scons-doc-4.6.0.tar.gz
|
||||
@ -1,31 +0,0 @@
|
||||
%pyproject_wheel already pulls in setuptools and handles the build
|
||||
without any additional dependencies. python-build is also not included
|
||||
in RHEL.
|
||||
|
||||
pyproject.toml changes are Fedora-specific
|
||||
setup.cfg changes from commit e27b28c6b3ca8c9155bff38891189eb73deab611
|
||||
|
||||
diff --git a/pyproject.toml b/pyproject.toml
|
||||
--- a/pyproject.toml
|
||||
+++ b/pyproject.toml
|
||||
@@ -1,6 +1,3 @@
|
||||
-[build-system]
|
||||
-build-backend = "setuptools.build_meta"
|
||||
-requires = ["setuptools"]
|
||||
|
||||
# for black and mypy, set the lowest Python version supported
|
||||
[tool.black]
|
||||
diff --git a/setup.cfg b/setup.cfg
|
||||
--- a/setup.cfg
|
||||
+++ b/setup.cfg
|
||||
@@ -40,10 +40,6 @@ classifiers =
|
||||
[options]
|
||||
zip_safe = False
|
||||
python_requires = >=3.6
|
||||
-install_requires = setuptools
|
||||
-setup_requires =
|
||||
- setuptools
|
||||
- build
|
||||
include_package_data = True
|
||||
packages = find:
|
||||
|
||||
1
dead.package
Normal file
1
dead.package
Normal file
@ -0,0 +1 @@
|
||||
scons package is retired on branch c10s for CS-2063
|
||||
123
scons.spec
123
scons.spec
@ -1,123 +0,0 @@
|
||||
%global pypi_name SCons
|
||||
|
||||
# Package documentation files
|
||||
%bcond_without doc
|
||||
|
||||
# Install prebuilt documentation
|
||||
%bcond_without prebuilt_doc
|
||||
|
||||
Name: scons
|
||||
Version: 4.6.0
|
||||
Release: %autorelease
|
||||
Summary: An Open Source software construction tool
|
||||
License: MIT
|
||||
URL: http://www.scons.org
|
||||
Source0: %{pypi_source}
|
||||
Source1: https://scons.org/doc/production/scons-doc-%{version}.tar.gz
|
||||
# Avoid unnecessary dependency on python-build
|
||||
Patch0: 0001-Remove-unnecessary-build-deps.patch
|
||||
|
||||
BuildArch: noarch
|
||||
BuildRequires: make
|
||||
|
||||
%description
|
||||
SCons is an Open Source software construction tool--that is, a build
|
||||
tool; an improved substitute for the classic Make utility; a better way
|
||||
to build software. SCons is based on the design which won the Software
|
||||
Carpentry build tool design competition in August 2000.
|
||||
|
||||
SCons "configuration files" are Python scripts, eliminating the need
|
||||
to learn a new build tool syntax. SCons maintains a global view of
|
||||
all dependencies in a tree, and can scan source (or other) files for
|
||||
implicit dependencies, such as files specified on #include lines. SCons
|
||||
uses MD5 signatures to rebuild only when the contents of a file have
|
||||
really changed, not just when the timestamp has been touched. SCons
|
||||
supports side-by-side variant builds, and is easily extended with user-
|
||||
defined Builder and/or Scanner objects.
|
||||
|
||||
%if %{with doc}
|
||||
%package doc
|
||||
Summary: An Open Source software construction tool
|
||||
BuildArch: noarch
|
||||
%if 0%{without prebuilt_doc}
|
||||
BuildRequires: python3-sphinx >= 5.1.1
|
||||
BuildRequires: python3-sphinx_rtd_theme
|
||||
BuildRequires: rst2pdf, fop, ghostscript
|
||||
BuildRequires: python3dist(readme-renderer)
|
||||
%endif
|
||||
%description doc
|
||||
Scons documentation.
|
||||
%endif
|
||||
|
||||
%package -n python3-%{name}
|
||||
Summary: An Open Source software construction tool
|
||||
|
||||
BuildRequires: pyproject-rpm-macros
|
||||
BuildRequires: python3-devel
|
||||
%py_provides scons-python3
|
||||
%py_provides python3-%{name}
|
||||
%py_provides SCons
|
||||
%py_provides scons
|
||||
|
||||
%description -n python3-%{name}
|
||||
SCons is an Open Source software construction tool--that is, a build
|
||||
tool; an improved substitute for the classic Make utility; a better way
|
||||
to build software. SCons is based on the design which won the Software
|
||||
Carpentry build tool design competition in August 2000.
|
||||
|
||||
SCons "configuration files" are Python scripts, eliminating the need
|
||||
to learn a new build tool syntax. SCons maintains a global view of
|
||||
all dependencies in a tree, and can scan source (or other) files for
|
||||
implicit dependencies, such as files specified on #include lines. SCons
|
||||
uses MD5 signatures to rebuild only when the contents of a file have
|
||||
really changed, not just when the timestamp has been touched. SCons
|
||||
supports side-by-side variant builds, and is easily extended with user-
|
||||
defined Builder and/or Scanner objects.
|
||||
|
||||
%prep
|
||||
%if 0%{with prebuilt_doc}
|
||||
%autosetup -n SCons-%{version} -N
|
||||
%setup -n SCons-%{version} -q -T -D -a 1
|
||||
%else
|
||||
%autosetup -N -T -b 0
|
||||
%endif
|
||||
%autopatch -p1
|
||||
|
||||
%generate_buildrequires
|
||||
%pyproject_buildrequires -x tests
|
||||
|
||||
|
||||
%build
|
||||
%pyproject_wheel
|
||||
|
||||
|
||||
%install
|
||||
%pyproject_install
|
||||
%pyproject_save_files %{pypi_name}
|
||||
|
||||
rm -rfv %{buildroot}%{_bindir}/__pycache__
|
||||
rm -rfv %{buildroot}%{python3_sitelib}/SCons/Tool/docbook/__pycache__
|
||||
|
||||
# Install manpages
|
||||
mkdir -p %{buildroot}%{_mandir}/man1
|
||||
install -pm 644 *.1 %{buildroot}%{_mandir}/man1/
|
||||
rm -f %{buildroot}%{_prefix}/*.1
|
||||
|
||||
%files -n python3-%{name} -f %{pyproject_files}
|
||||
%{_bindir}/%{name}
|
||||
%{_bindir}/%{name}ign
|
||||
%{_bindir}/%{name}-configure-cache
|
||||
%{_mandir}/man1/*
|
||||
|
||||
%if %{with doc}
|
||||
%files doc
|
||||
%if 0%{without prebuilt_doc}
|
||||
%doc build/doc/PDF build/doc/HTML build/doc/TEXT
|
||||
%else
|
||||
%doc PDF HTML EPUB TEXT
|
||||
%endif
|
||||
%license LICENSE
|
||||
%endif
|
||||
|
||||
%changelog
|
||||
%autochangelog
|
||||
2
sources
2
sources
@ -1,2 +0,0 @@
|
||||
SHA512 (SCons-4.6.0.tar.gz) = c7dc952117c23ac30b8cf1f70ef0c4ad1c0a86c9865fd255fde1a29ea2fbf9e26573b73430f6adc8c545dab753077f380d29d77ac4eede7fce959c86576d2354
|
||||
SHA512 (scons-doc-4.6.0.tar.gz) = 07ce1fd6fa0f4482a9b8c4290db15686f071eb1a2fa2b87e72f441743e71604d9862fb5fbf79647ef4a1e53cde003d5b142763aa4fbc1a513d241d6e4062a384
|
||||
Loading…
Reference in New Issue
Block a user