Remove basic uses of @_ver for git_hashtag "v#{@_ver}" (#8371)

This commit is contained in:
Maximilian Downey Twiss
2023-06-13 01:32:18 +10:00
committed by GitHub
parent 1f567c2ebc
commit 713003c84f
43 changed files with 85 additions and 128 deletions

View File

@@ -3,12 +3,11 @@ require 'package'
class Cups < Package
description 'CUPS is the standards-based, open source printing system'
homepage 'https://github.com/OpenPrinting/cups'
@_ver = '2.4.2'
version @_ver
version '2.4.2'
license 'Apache-2.0'
compatibility 'all'
source_url 'https://github.com/OpenPrinting/cups.git'
git_hashtag "v#{@_ver}"
git_hashtag "v#{version}"
binary_url({
aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/cups/2.4.2_armv7l/cups-2.4.2-chromeos-armv7l.tar.zst',