-
Notifications
You must be signed in to change notification settings - Fork 290
/
Copy pathcqlsh.yaml
43 lines (37 loc) · 1016 Bytes
/
cqlsh.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
package:
name: cqlsh
version: 4.1.4
epoch: 0
description: CQL shell for apache cassandra
copyright:
- license: Apache-2.0
environment:
contents:
packages:
- build-base
- busybox
- ca-certificates-bundle
- cython
- py3-setuptools
- python3
- python3-dev
pipeline:
- uses: fetch
with:
expected-sha256: 3eae36f02c4f97aaaa03510be1ef6d73ca971fc65172bfe5bb967612f67ca2f3
uri: https://github.com/apache/cassandra/archive/cassandra-${{package.version}}.tar.gz
- runs: |
(cd ./pylib && python setup.py build)
mkdir -p ${{targets.destdir}}/usr/bin
cp ./bin/cqlsh ${{targets.destdir}}/usr/bin/cqlsh
cp ./bin/cqlsh.py ${{targets.destdir}}/usr/bin/cqlsh
(cd ./pylib && python setup.py install --prefix=/usr --root="${{targets.destdir}}")
- uses: strip
update:
enabled: true
ignore-regex-patterns:
- -tentative
github:
identifier: apache/cassandra
strip-prefix: cassandra-
use-tag: true