Compare commits
No commits in common. "c63b6263cc6843987824216248f36ba42f10d0fb" and "bf4c8ac39db322e6072cc1763e1c6bf4ce48ae1d" have entirely different histories.
c63b6263cc
...
bf4c8ac39d
@ -5,8 +5,7 @@ desc='Discord (popular voice + video app) using the system provided electron for
|
|||||||
homepage='https://discord.com/'
|
homepage='https://discord.com/'
|
||||||
maintainer="Евгений Храмов <xpamych@yandex.ru>"
|
maintainer="Евгений Храмов <xpamych@yandex.ru>"
|
||||||
architectures=('amd64')
|
architectures=('amd64')
|
||||||
license=('custom')
|
license=('custom') provides=('discord')
|
||||||
provides=('discord')
|
|
||||||
conflicts=('discord')
|
conflicts=('discord')
|
||||||
|
|
||||||
deps=('gconf-service' 'gconf2-common' 'libc++1' 'libxtst6' 'libxss1' 'libstdc++6' 'libnss3' 'libnspr4' 'libnotify4' 'libgconf-2-4' 'libatomic1' 'libasound2' 'libc6' 'libappindicator1')
|
deps=('gconf-service' 'gconf2-common' 'libc++1' 'libxtst6' 'libxss1' 'libstdc++6' 'libnss3' 'libnspr4' 'libnotify4' 'libgconf-2-4' 'libatomic1' 'libasound2' 'libc6' 'libappindicator1')
|
||||||
|
@ -17,7 +17,7 @@ build_deps=(
|
|||||||
'go'
|
'go'
|
||||||
'nodejs'
|
'nodejs'
|
||||||
'npm'
|
'npm'
|
||||||
'python-poetry'
|
'poetry'
|
||||||
'openssh'
|
'openssh'
|
||||||
'pam-devel'
|
'pam-devel'
|
||||||
)
|
)
|
||||||
@ -26,7 +26,7 @@ build_deps_almalinux=(
|
|||||||
'go'
|
'go'
|
||||||
'nodejs'
|
'nodejs'
|
||||||
'npm'
|
'npm'
|
||||||
'python-poetry'
|
'python3-poetry-core'
|
||||||
'openssh'
|
'openssh'
|
||||||
'pam-devel'
|
'pam-devel'
|
||||||
)
|
)
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
name="go-bin"
|
name="go-bin"
|
||||||
version='1.23.1'
|
version='1.23.0'
|
||||||
release='1'
|
release='1'
|
||||||
desc="Compiler and tools for the Go programming language"
|
desc="Compiler and tools for the Go programming language"
|
||||||
desc_ru="Компилятор и инструменты для языка программирования Go"
|
desc_ru="Компилятор и инструменты для языка программирования Go"
|
||||||
|
@ -1,130 +0,0 @@
|
|||||||
name='python-poetry'
|
|
||||||
version='1.8.3'
|
|
||||||
release='1'
|
|
||||||
desc='Python dependency management and packaging made easy'
|
|
||||||
homepage='https://python-poetry.org'
|
|
||||||
maintainer="Евгений Храмов <xpamych@yandex.ru>"
|
|
||||||
architectures=('all')
|
|
||||||
license=('MIT')
|
|
||||||
provides=('poetry')
|
|
||||||
conflicts=('poetry')
|
|
||||||
|
|
||||||
deps=(
|
|
||||||
'python-build'
|
|
||||||
'python-cachecontrol'
|
|
||||||
'python-cachy'
|
|
||||||
'python-cleo'
|
|
||||||
'python-crashtest'
|
|
||||||
'python-dulwich'
|
|
||||||
'python-filelock'
|
|
||||||
'python-html5lib'
|
|
||||||
'python-installer'
|
|
||||||
'python-jsonschema'
|
|
||||||
'python-keyring'
|
|
||||||
'python-lockfile'
|
|
||||||
'python-packaging'
|
|
||||||
'python-pexpect'
|
|
||||||
'python-pkginfo'
|
|
||||||
'python-platformdirs'
|
|
||||||
'python-poetry-core'
|
|
||||||
'python-poetry-plugin-export'
|
|
||||||
'python-pyproject-hooks'
|
|
||||||
'python-requests'
|
|
||||||
'python-requests-toolbelt'
|
|
||||||
'python-shellingham'
|
|
||||||
'python-tomlkit'
|
|
||||||
'python-trove-classifiers'
|
|
||||||
'python-urllib3'
|
|
||||||
'python-virtualenv'
|
|
||||||
)
|
|
||||||
deps_redos=(
|
|
||||||
'python3-build'
|
|
||||||
'python3-CacheControl'
|
|
||||||
'python3-cachy'
|
|
||||||
'python3-cleo'
|
|
||||||
'python3-crashtest'
|
|
||||||
'python3-dulwich'
|
|
||||||
'python3-filelock'
|
|
||||||
'python3-html5lib'
|
|
||||||
'python3-installer'
|
|
||||||
'python3-jsonschema'
|
|
||||||
'python3-keyring'
|
|
||||||
'python3-lockfile'
|
|
||||||
'python3-packaging'
|
|
||||||
'python3-pexpect'
|
|
||||||
'python3-pkginfo'
|
|
||||||
'python3-platformdirs'
|
|
||||||
'python3-poetry-core'
|
|
||||||
'python3-poetry-plugin-export'
|
|
||||||
'python3-pyproject-hooks'
|
|
||||||
'python3-requests'
|
|
||||||
'python3-requests-toolbelt'
|
|
||||||
'python3-shellingham'
|
|
||||||
'python3-tomlkit'
|
|
||||||
'python3-trove-classifiers'
|
|
||||||
'python3-urllib3'
|
|
||||||
'python3-virtualenv'
|
|
||||||
)
|
|
||||||
build_deps=(
|
|
||||||
'python-deepdiff' # not mentioned but required
|
|
||||||
'python-psutil' # for python-pytest-xdist
|
|
||||||
'python-httpretty'
|
|
||||||
'python-pip' # not mentioned but required
|
|
||||||
'python-pytest'
|
|
||||||
'python-pytest-mock'
|
|
||||||
'python-pytest-randomly'
|
|
||||||
'python-pytest-xdist'
|
|
||||||
)
|
|
||||||
build_deps_redos=(
|
|
||||||
'python3-deepdiff' # not mentioned but required
|
|
||||||
'python-psutil' # for python-pytest-xdist
|
|
||||||
'python3-httpretty'
|
|
||||||
'python-pip' # not mentioned but required
|
|
||||||
'python-pytest'
|
|
||||||
'python-pytest-mock'
|
|
||||||
'python3-pytest-randomly'
|
|
||||||
'python-pytest-xdist'
|
|
||||||
)
|
|
||||||
opt_deps=('python-pip: to use pip with virtual environments')
|
|
||||||
opt_deps_redos=('python3-pip: to use pip with virtual environments')
|
|
||||||
|
|
||||||
sources=("https://github.com/$name/poetry/releases/download/${version}/poetry-${version}.tar.gz")
|
|
||||||
checksums=('SKIP')
|
|
||||||
|
|
||||||
prepare() {
|
|
||||||
cd "poetry-$version"
|
|
||||||
# Unpin crashtest which we have packaged at 0.4.0
|
|
||||||
# https://bugs.archlinux.org/task/75733
|
|
||||||
# Also unpin requests-toolbelt
|
|
||||||
# https://github.com/python-poetry/poetry/pull/7893
|
|
||||||
sed -i -e '/^crashtest/s/\^/>=/' -e '/^requests-toolbelt/s/,<0.11.0//' pyproject.toml
|
|
||||||
}
|
|
||||||
|
|
||||||
build() {
|
|
||||||
local site_packages=$(python -c "import site; print(site.getsitepackages()[0])")
|
|
||||||
cd "poetry-$version"
|
|
||||||
python -m build -wn
|
|
||||||
# install to tmp dir for tests and generate completions
|
|
||||||
python -m installer --destdir=test_dir dist/*.whl
|
|
||||||
export PYTHONPATH="$PWD/test_dir/$site_packages:$PYTHONPATH"
|
|
||||||
export PATH="$PWD/test_dir/usr/bin:$PATH"
|
|
||||||
poetry completions bash > poetry.bash
|
|
||||||
poetry completions zsh > poetry.zsh
|
|
||||||
poetry completions fish > poetry.fish
|
|
||||||
}
|
|
||||||
|
|
||||||
check() {
|
|
||||||
local site_packages=$(python -c "import site; print(site.getsitepackages()[0])")
|
|
||||||
cd "poetry-$version"
|
|
||||||
export PYTHONPATH="$PWD/test_dir/$site_packages:$PYTHONPATH"
|
|
||||||
pytest -vv tests
|
|
||||||
}
|
|
||||||
|
|
||||||
package() {
|
|
||||||
cd "poetry-$version"
|
|
||||||
python -m installer -d "$pkgdir" dist/*.whl
|
|
||||||
install-license ./LICENSE ./poetry/LICENSE
|
|
||||||
install -vDm 644 poetry.bash "$pkgdir/usr/share/bash-completion/completions/poetry"
|
|
||||||
install -vDm 644 poetry.zsh "$pkgdir/usr/share/zsh/site-functions/_poetry"
|
|
||||||
install -vDm 644 poetry.fish -t "$pkgdir/usr/share/fish/vendor_completions.d/"
|
|
||||||
}
|
|
@ -1,53 +0,0 @@
|
|||||||
name='revolt-desktop-git'
|
|
||||||
version='1.0.7.r13.g2373e7d'
|
|
||||||
release='1'
|
|
||||||
epoch='1'
|
|
||||||
desc='Open source user-first chat platform.'
|
|
||||||
homepage='https://revolt.chat'
|
|
||||||
maintainer="Евгений Храмов <xpamych@yandex.ru>"
|
|
||||||
architectures=('amd64')
|
|
||||||
licenses='AGPL3'
|
|
||||||
provides=('revolt-desktop-git' 'revolt-desktop')
|
|
||||||
conflicts=('revolt-desktop-git' 'revolt-desktop')
|
|
||||||
|
|
||||||
deps=('electron22')
|
|
||||||
|
|
||||||
sources=(
|
|
||||||
""git+https://github.com/revoltchat/desktop.git""
|
|
||||||
)
|
|
||||||
|
|
||||||
checksums=(
|
|
||||||
'SKIP'
|
|
||||||
)
|
|
||||||
|
|
||||||
version() {
|
|
||||||
cd "$srcdir/desktop"
|
|
||||||
git-version
|
|
||||||
}
|
|
||||||
|
|
||||||
build() {
|
|
||||||
cd "$srcdir/desktop"
|
|
||||||
|
|
||||||
electronDist=/usr/lib/electron22
|
|
||||||
electronVer=$(${electronDist}/electron --version | tail -c +2)
|
|
||||||
|
|
||||||
sed -i '/ "electron": /d' ./package.json
|
|
||||||
HOME="$srcdir/.electron-gyp" npm install --cache "${srcdir}/npm-cache"
|
|
||||||
npm run build:bundle
|
|
||||||
|
|
||||||
./node_modules/.bin/electron-builder -l dir -c.electronDist=$electronDist -c.electronVersion=$electronVer
|
|
||||||
}
|
|
||||||
|
|
||||||
package() {
|
|
||||||
cd "$srcdir/desktop"
|
|
||||||
|
|
||||||
install-binary -dm755 "${pkgdir}/usr/lib/${name%-git}"
|
|
||||||
cp -dr --no-preserve=ownership dist/linux-unpacked/resources/* "${pkgdir}/usr/lib/${name%-git}/"
|
|
||||||
|
|
||||||
install -Dm644 build/icons/icon.png "$pkgdir/usr/share/pixmaps/${name%-git}.png"
|
|
||||||
|
|
||||||
install -dm755 "${pkgdir}/usr/bin" "revolt-desktop"
|
|
||||||
|
|
||||||
install -Dm755 "revolt-desktop.sh" "$pkgdir/usr/bin/${name%-git}"
|
|
||||||
install -Dm644 "revolt-desktop.desktop" -t "$pkgdir/usr/share/applications"
|
|
||||||
}
|
|
Loading…
Reference in New Issue
Block a user