Skip to content

Commit c093431

Browse files
authored
Added cqlsh package to SPECS-EXTENDED (#13936)
1 parent f81b52e commit c093431

5 files changed

Lines changed: 77 additions & 1 deletion

File tree

LICENSES-AND-NOTICES/SPECS/LICENSES-MAP.md

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

LICENSES-AND-NOTICES/SPECS/data/licenses.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2700,6 +2700,7 @@
27002700
"coreutils",
27012701
"cpio",
27022702
"cppunit",
2703+
"cqlsh",
27032704
"cracklib",
27042705
"crash",
27052706
"crash-gcore-command",
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"Signatures": {
3+
"cqlsh-6.1.2.tar.gz": "63b0c94709047e251fc1351d5a8098cbd01e71f4faeed3880630d1cd005d2bba"
4+
}
5+
}

SPECS-EXTENDED/cqlsh/cqlsh.spec

Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
1+
%define srcname cqlsh
2+
3+
Summary: A Python-based command-line client for running simple CQL commands on a Cassandra cluster.
4+
Name: %{srcname}
5+
Version: 6.1.2
6+
Release: 2%{?dist}
7+
License: Apache License Version 2.0
8+
Group: Development/Languages/Python
9+
Vendor: Microsoft Corporation
10+
Distribution: Azure Linux
11+
Url: https://pypi.python.org/pypi/cqlsh
12+
13+
Source0: https://files.pythonhosted.org/packages/source/c/cqlsh/%{srcname}-%{version}.tar.gz
14+
15+
BuildRequires: python3-devel
16+
BuildRequires: python3-setuptools
17+
18+
Requires: python3
19+
Requires: python3-six
20+
Requires: cassandra
21+
Requires: cassandra-driver
22+
23+
BuildArch: noarch
24+
25+
%description
26+
cqlsh is a Python-based command-line tool, and the most direct way to run simple CQL commonds on a Cassandra cluster.
27+
This is a simple re-bundling of the open source tool that comes bundled with Cassandra to allow for cqlsh to be installed and run inside of virtual environments..
28+
29+
%prep
30+
%autosetup -p1 -n %{srcname}-%{version}
31+
32+
%build
33+
%{py3_build}
34+
35+
%install
36+
%{py3_install}
37+
38+
%files
39+
%defattr(-,root,root)
40+
%{_bindir}/%{srcname}
41+
%{python3_sitelib}/*
42+
43+
%changelog
44+
* Thu May 22 2025 Jyoti kanase <v-jykanase@microsoft.com> - 6.1.2-2
45+
- Initial Azure Linux import from Photon (license: Apache2).
46+
- License verified.
47+
48+
* Sat Aug 05 2023 Shreenidhi Shedi <sshedi@vmware.com> 6.1.2-1
49+
- Upgrade to v6.1.2
50+
- Remove python3-cql dependency
51+
* Tue Feb 21 2023 Ankit Jain <ankitja@vmware.com> 6.1.0-1
52+
- Update to 6.1.0
53+
* Sun Aug 21 2022 Gerrit Photon <photon-checkins@vmware.com> 6.0.0-1
54+
- Automatic Version Bump
55+
* Thu Nov 11 2021 Shreenidhi Shedi <sshedi@vmware.com> 6.0.0ga-1
56+
- Update to 6.0.0
57+
* Wed Jun 09 2021 Ankit Jain <ankitja@vmware.com> 6.0.0b4-1
58+
- Update to 6.0.0b4 to support python3
59+
* Mon Jul 10 2017 Xiaolin Li <xiaolinl@vmware.com> 5.0.4-1
60+
- Initial packaging for Photon

cgmanifest.json

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22367,6 +22367,16 @@
2236722367
"downloadUrl": "https://files.pythonhosted.org/packages/source/p/py-cpuinfo/py-cpuinfo-7.0.0.tar.gz"
2236822368
}
2236922369
}
22370+
},
22371+
{
22372+
"component": {
22373+
"type": "other",
22374+
"other": {
22375+
"name": "cqlsh",
22376+
"version": "6.1.2",
22377+
"downloadUrl": "https://files.pythonhosted.org/packages/source/c/cqlsh/cqlsh-6.1.2.tar.gz"
22378+
}
22379+
}
2237022380
},
2237122381
{
2237222382
"component": {

0 commit comments

Comments
 (0)