separate deb2dsp made programs,
This commit is contained in:
parent
84fcdd1cfc
commit
c791a0b0e6
|
|
@ -0,0 +1,57 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
USER=geigerzaehler
|
||||||
|
PROJECT=beets-check
|
||||||
|
|
||||||
|
git_url="https://github.com/${USER}/${PROJECT}"
|
||||||
|
|
||||||
|
VERSION=$(curl "https://api.github.com/repos/${USER}/${PROJECT}/tags?per_page=5" | jq -r '.[0] | .name')
|
||||||
|
|
||||||
|
RSS_FEED="https://github.com/${USER}/${PROJECT}/releases.atom"
|
||||||
|
# xdg-open ${RSS_FEED}
|
||||||
|
|
||||||
|
# the dependencies for the python package
|
||||||
|
# sudo apt-get install python3-tifffile python3-sklearn
|
||||||
|
# sudo apt-get -f install
|
||||||
|
|
||||||
|
# the dependencies for py2dsp
|
||||||
|
apt install -y pristine-tar pypi2deb python3-gnupg
|
||||||
|
|
||||||
|
# if the build fails with 'unrecognized build system: pybuild' add
|
||||||
|
# export PYBUILD_SYSTEM=distutils
|
||||||
|
# to the debian/rules file.
|
||||||
|
|
||||||
|
BUILD_HOME="/var/tmp/build_${PROJECT}-${VERSION#v}"
|
||||||
|
|
||||||
|
mkdir -p "${BUILD_HOME}"
|
||||||
|
pushd "${BUILD_HOME}" || exit
|
||||||
|
py2dsp --profile dpt --distribution unstable --revision 1 --github "${git_url}"
|
||||||
|
# strace -o /tmp/strace_output.txt py2dsp --profile dpt --distribution unstable --revision 1 --github "${git_url}"
|
||||||
|
|
||||||
|
pushd "${BUILD_HOME}/result/${PROJECT}-${VERSION#v}"
|
||||||
|
cat <<EOF | sudo tee "debian/rules" || exit
|
||||||
|
#!/usr/bin/make -f
|
||||||
|
|
||||||
|
#export DH_VERBOSE=1
|
||||||
|
export PYBUILD_NAME=${PROJECT}
|
||||||
|
export PIPX_BIN_DIR=/usr/bin
|
||||||
|
export PIPX_HOME=/usr/share/pipx
|
||||||
|
|
||||||
|
%:
|
||||||
|
dh \$@ --with python3 --buildsystem=pybuild
|
||||||
|
|
||||||
|
override_dh_installdocs:
|
||||||
|
EOF
|
||||||
|
# dpkg-buildpackage -rfakeroot -uc -b
|
||||||
|
DEB_BUILD_OPTIONS=nocheck dpkg-buildpackage -rfakeroot -Tclean
|
||||||
|
DEB_BUILD_OPTIONS=nocheck dpkg-buildpackage -rfakeroot -us -uc -b
|
||||||
|
|
||||||
|
popd || return
|
||||||
|
|
||||||
|
# dpkg -i result/*.deb
|
||||||
|
dpkg -i "${BUILD_HOME}/result/python3-${PROJECT}_${VERSION#v}-1_all.deb"
|
||||||
|
|
||||||
|
apt-get -f install
|
||||||
|
|
||||||
|
echo ""
|
||||||
|
echo "RSS feed: ${RSS_FEED}"
|
||||||
|
|
@ -0,0 +1,57 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
USER=coady
|
||||||
|
PROJECT=multimethod
|
||||||
|
|
||||||
|
git_url="https://github.com/${USER}/${PROJECT}"
|
||||||
|
|
||||||
|
VERSION=$(curl "https://api.github.com/repos/${USER}/${PROJECT}/tags?per_page=5" | jq -r '.[0] | .name')
|
||||||
|
|
||||||
|
RSS_FEED="https://github.com/${USER}/${PROJECT}/releases.atom"
|
||||||
|
# xdg-open ${RSS_FEED}
|
||||||
|
|
||||||
|
# the dependencies for the python package
|
||||||
|
# sudo apt-get install python3-tifffile python3-sklearn
|
||||||
|
# sudo apt-get -f install
|
||||||
|
|
||||||
|
# the dependencies for py2dsp
|
||||||
|
apt install -y pristine-tar pypi2deb python3-gnupg
|
||||||
|
|
||||||
|
# if the build fails with 'unrecognized build system: pybuild' add
|
||||||
|
# export PYBUILD_SYSTEM=distutils
|
||||||
|
# to the debian/rules file.
|
||||||
|
|
||||||
|
BUILD_HOME="/var/tmp/build_${PROJECT}-${VERSION#v}"
|
||||||
|
|
||||||
|
mkdir -p "${BUILD_HOME}"
|
||||||
|
pushd "${BUILD_HOME}" || exit
|
||||||
|
py2dsp --profile dpt --distribution unstable --revision 1 --github "${git_url}"
|
||||||
|
# strace -o /tmp/strace_output.txt py2dsp --profile dpt --distribution unstable --revision 1 --github "${git_url}"
|
||||||
|
|
||||||
|
pushd "${BUILD_HOME}/result/${PROJECT}-${VERSION#v}"
|
||||||
|
cat <<EOF | sudo tee "debian/rules" || exit
|
||||||
|
#!/usr/bin/make -f
|
||||||
|
|
||||||
|
#export DH_VERBOSE=1
|
||||||
|
export PYBUILD_NAME=${PROJECT}
|
||||||
|
export PIPX_BIN_DIR=/usr/bin
|
||||||
|
export PIPX_HOME=/usr/share/pipx
|
||||||
|
|
||||||
|
%:
|
||||||
|
dh \$@ --with python3 --buildsystem=pybuild
|
||||||
|
|
||||||
|
override_dh_installdocs:
|
||||||
|
EOF
|
||||||
|
# dpkg-buildpackage -rfakeroot -uc -b
|
||||||
|
# DEB_BUILD_OPTIONS=nocheck dpkg-buildpackage -rfakeroot -Tclean
|
||||||
|
DEB_BUILD_OPTIONS=nocheck dpkg-buildpackage -rfakeroot -us -uc -b
|
||||||
|
|
||||||
|
popd || return
|
||||||
|
|
||||||
|
# dpkg -i result/*.deb
|
||||||
|
dpkg -i "${BUILD_HOME}/result/python3-${PROJECT}_${VERSION#v}-1_all.deb"
|
||||||
|
|
||||||
|
apt-get -f install
|
||||||
|
|
||||||
|
echo ""
|
||||||
|
echo "RSS feed: ${RSS_FEED}"
|
||||||
|
|
@ -0,0 +1,57 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
USER=snejus
|
||||||
|
PROJECT=rich-tables
|
||||||
|
|
||||||
|
git_url="https://github.com/${USER}/${PROJECT}"
|
||||||
|
|
||||||
|
VERSION=$(curl "https://api.github.com/repos/${USER}/${PROJECT}/tags?per_page=5" | jq -r '.[0] | .name')
|
||||||
|
|
||||||
|
RSS_FEED="https://github.com/${USER}/${PROJECT}/releases.atom"
|
||||||
|
# xdg-open ${RSS_FEED}
|
||||||
|
|
||||||
|
# the dependencies for the python package
|
||||||
|
# sudo apt-get install python3-tifffile python3-sklearn
|
||||||
|
# sudo apt-get -f install
|
||||||
|
|
||||||
|
# the dependencies for py2dsp
|
||||||
|
apt install -y pristine-tar pypi2deb python3-gnupg
|
||||||
|
|
||||||
|
# if the build fails with 'unrecognized build system: pybuild' add
|
||||||
|
# export PYBUILD_SYSTEM=distutils
|
||||||
|
# to the debian/rules file.
|
||||||
|
|
||||||
|
BUILD_HOME="/var/tmp/build_${PROJECT}-${VERSION#v}"
|
||||||
|
|
||||||
|
mkdir -p "${BUILD_HOME}"
|
||||||
|
pushd "${BUILD_HOME}" || exit
|
||||||
|
py2dsp --profile dpt --distribution unstable --revision 1 --github "${git_url}"
|
||||||
|
# strace -o /tmp/strace_output.txt py2dsp --profile dpt --distribution unstable --revision 1 --github "${git_url}"
|
||||||
|
|
||||||
|
pushd "${BUILD_HOME}/result/${PROJECT}-${VERSION#v}"
|
||||||
|
cat <<EOF | sudo tee "debian/rules" || exit
|
||||||
|
#!/usr/bin/make -f
|
||||||
|
|
||||||
|
#export DH_VERBOSE=1
|
||||||
|
export PYBUILD_NAME=${PROJECT}
|
||||||
|
export PIPX_BIN_DIR=/usr/bin
|
||||||
|
export PIPX_HOME=/usr/share/pipx
|
||||||
|
|
||||||
|
%:
|
||||||
|
dh \$@ --with python3 --buildsystem=pybuild
|
||||||
|
|
||||||
|
override_dh_installdocs:
|
||||||
|
EOF
|
||||||
|
# dpkg-buildpackage -rfakeroot -uc -b
|
||||||
|
# DEB_BUILD_OPTIONS=nocheck dpkg-buildpackage -rfakeroot -Tclean
|
||||||
|
DEB_BUILD_OPTIONS=nocheck dpkg-buildpackage -rfakeroot -us -uc -b
|
||||||
|
|
||||||
|
popd || return
|
||||||
|
|
||||||
|
# dpkg -i result/*.deb
|
||||||
|
dpkg -i "${BUILD_HOME}/result/python3-${PROJECT}_${VERSION#v}-1_all.deb"
|
||||||
|
|
||||||
|
apt-get -f install
|
||||||
|
|
||||||
|
echo ""
|
||||||
|
echo "RSS feed: ${RSS_FEED}"
|
||||||
|
|
@ -0,0 +1,57 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
USER=snejus
|
||||||
|
PROJECT=beetcamp
|
||||||
|
|
||||||
|
git_url="https://github.com/${USER}/${PROJECT}"
|
||||||
|
|
||||||
|
VERSION=$(curl "https://api.github.com/repos/${USER}/${PROJECT}/tags?per_page=5" | jq -r '.[0] | .name')
|
||||||
|
|
||||||
|
RSS_FEED="https://github.com/${USER}/${PROJECT}/releases.atom"
|
||||||
|
# xdg-open ${RSS_FEED}
|
||||||
|
|
||||||
|
# the dependencies for the python package
|
||||||
|
# sudo apt-get install python3-tifffile python3-sklearn
|
||||||
|
# sudo apt-get -f install
|
||||||
|
|
||||||
|
# the dependencies for py2dsp
|
||||||
|
apt install -y pristine-tar pypi2deb python3-gnupg
|
||||||
|
|
||||||
|
# if the build fails with 'unrecognized build system: pybuild' add
|
||||||
|
# export PYBUILD_SYSTEM=distutils
|
||||||
|
# to the debian/rules file.
|
||||||
|
|
||||||
|
BUILD_HOME="/var/tmp/build_${PROJECT}-${VERSION#v}"
|
||||||
|
|
||||||
|
mkdir -p "${BUILD_HOME}"
|
||||||
|
pushd "${BUILD_HOME}" || exit
|
||||||
|
py2dsp --profile dpt --distribution unstable --revision 1 --github "${git_url}"
|
||||||
|
# strace -o /tmp/strace_output.txt py2dsp --profile dpt --distribution unstable --revision 1 --github "${git_url}"
|
||||||
|
|
||||||
|
pushd "${BUILD_HOME}/result/${PROJECT}-${VERSION#v}"
|
||||||
|
cat <<EOF | sudo tee "debian/rules" || exit
|
||||||
|
#!/usr/bin/make -f
|
||||||
|
|
||||||
|
#export DH_VERBOSE=1
|
||||||
|
export PYBUILD_NAME=${PROJECT}
|
||||||
|
export PIPX_BIN_DIR=/usr/bin
|
||||||
|
export PIPX_HOME=/usr/share/pipx
|
||||||
|
|
||||||
|
%:
|
||||||
|
dh \$@ --with python3 --buildsystem=pybuild
|
||||||
|
|
||||||
|
override_dh_installdocs:
|
||||||
|
EOF
|
||||||
|
# dpkg-buildpackage -rfakeroot -uc -b
|
||||||
|
DEB_BUILD_OPTIONS=nocheck dpkg-buildpackage -rfakeroot -Tclean
|
||||||
|
DEB_BUILD_OPTIONS=nocheck dpkg-buildpackage -rfakeroot -us -uc -b
|
||||||
|
|
||||||
|
popd || return
|
||||||
|
|
||||||
|
# dpkg -i result/*.deb
|
||||||
|
dpkg -i "${BUILD_HOME}/result/python3-${PROJECT}_${VERSION#v}-1_all.deb"
|
||||||
|
|
||||||
|
apt-get -f install
|
||||||
|
|
||||||
|
echo ""
|
||||||
|
echo "RSS feed: ${RSS_FEED}"
|
||||||
|
|
@ -0,0 +1,57 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
USER=adammillerio
|
||||||
|
PROJECT=beets-copyartifacts
|
||||||
|
|
||||||
|
git_url="https://github.com/${USER}/${PROJECT}"
|
||||||
|
|
||||||
|
VERSION=$(curl "https://api.github.com/repos/${USER}/${PROJECT}/tags?per_page=5" | jq -r '.[0] | .name')
|
||||||
|
|
||||||
|
RSS_FEED="https://github.com/${USER}/${PROJECT}/releases.atom"
|
||||||
|
# xdg-open ${RSS_FEED}
|
||||||
|
|
||||||
|
# the dependencies for the python package
|
||||||
|
# sudo apt-get install python3-tifffile python3-sklearn
|
||||||
|
# sudo apt-get -f install
|
||||||
|
|
||||||
|
# the dependencies for py2dsp
|
||||||
|
apt install -y pristine-tar pypi2deb python3-gnupg
|
||||||
|
|
||||||
|
# if the build fails with 'unrecognized build system: pybuild' add
|
||||||
|
# export PYBUILD_SYSTEM=distutils
|
||||||
|
# to the debian/rules file.
|
||||||
|
|
||||||
|
BUILD_HOME="/var/tmp/build_${PROJECT}-${VERSION#v}"
|
||||||
|
|
||||||
|
mkdir -p "${BUILD_HOME}"
|
||||||
|
pushd "${BUILD_HOME}" || exit
|
||||||
|
py2dsp --profile dpt --distribution unstable --revision 1 --github "${git_url}"
|
||||||
|
# strace -o /tmp/strace_output.txt py2dsp --profile dpt --distribution unstable --revision 1 --github "${git_url}"
|
||||||
|
|
||||||
|
pushd "${BUILD_HOME}/result/${PROJECT}-${VERSION#v}"
|
||||||
|
cat <<EOF | sudo tee "debian/rules" || exit
|
||||||
|
#!/usr/bin/make -f
|
||||||
|
|
||||||
|
#export DH_VERBOSE=1
|
||||||
|
export PYBUILD_NAME=${PROJECT}
|
||||||
|
export PIPX_BIN_DIR=/usr/bin
|
||||||
|
export PIPX_HOME=/usr/share/pipx
|
||||||
|
|
||||||
|
%:
|
||||||
|
dh \$@ --with python3 --buildsystem=pybuild
|
||||||
|
|
||||||
|
override_dh_installdocs:
|
||||||
|
EOF
|
||||||
|
# dpkg-buildpackage -rfakeroot -uc -b
|
||||||
|
DEB_BUILD_OPTIONS=nocheck dpkg-buildpackage -rfakeroot -Tclean
|
||||||
|
DEB_BUILD_OPTIONS=nocheck dpkg-buildpackage -rfakeroot -us -uc -b
|
||||||
|
|
||||||
|
popd || return
|
||||||
|
|
||||||
|
# dpkg -i result/*.deb
|
||||||
|
dpkg -i "${BUILD_HOME}/result/python3-${PROJECT}_${VERSION#v}-1_all.deb"
|
||||||
|
|
||||||
|
apt-get -f install
|
||||||
|
|
||||||
|
echo ""
|
||||||
|
echo "RSS feed: ${RSS_FEED}"
|
||||||
|
|
@ -0,0 +1,57 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
USER=nolsto
|
||||||
|
PROJECT=beets-follow
|
||||||
|
|
||||||
|
git_url="https://github.com/${USER}/${PROJECT}"
|
||||||
|
|
||||||
|
VERSION=$(curl "https://api.github.com/repos/${USER}/${PROJECT}/tags?per_page=5" | jq -r '.[0] | .name')
|
||||||
|
|
||||||
|
RSS_FEED="https://github.com/${USER}/${PROJECT}/releases.atom"
|
||||||
|
# xdg-open ${RSS_FEED}
|
||||||
|
|
||||||
|
# the dependencies for the python package
|
||||||
|
# sudo apt-get install python3-tifffile python3-sklearn
|
||||||
|
# sudo apt-get -f install
|
||||||
|
|
||||||
|
# the dependencies for py2dsp
|
||||||
|
apt install -y pristine-tar pypi2deb python3-gnupg
|
||||||
|
|
||||||
|
# if the build fails with 'unrecognized build system: pybuild' add
|
||||||
|
# export PYBUILD_SYSTEM=distutils
|
||||||
|
# to the debian/rules file.
|
||||||
|
|
||||||
|
BUILD_HOME="/var/tmp/build_${PROJECT}-${VERSION#v}"
|
||||||
|
|
||||||
|
mkdir -p "${BUILD_HOME}"
|
||||||
|
pushd "${BUILD_HOME}" || exit
|
||||||
|
py2dsp --profile dpt --distribution unstable --revision 1 --github "${git_url}"
|
||||||
|
# strace -o /tmp/strace_output.txt py2dsp --profile dpt --distribution unstable --revision 1 --github "${git_url}"
|
||||||
|
|
||||||
|
pushd "${BUILD_HOME}/result/${PROJECT}-${VERSION#v}"
|
||||||
|
cat <<EOF | sudo tee "debian/rules" || exit
|
||||||
|
#!/usr/bin/make -f
|
||||||
|
|
||||||
|
#export DH_VERBOSE=1
|
||||||
|
export PYBUILD_NAME=${PROJECT}
|
||||||
|
export PIPX_BIN_DIR=/usr/bin
|
||||||
|
export PIPX_HOME=/usr/share/pipx
|
||||||
|
|
||||||
|
%:
|
||||||
|
dh \$@ --with python3 --buildsystem=pybuild
|
||||||
|
|
||||||
|
override_dh_installdocs:
|
||||||
|
EOF
|
||||||
|
# dpkg-buildpackage -rfakeroot -uc -b
|
||||||
|
DEB_BUILD_OPTIONS=nocheck dpkg-buildpackage -rfakeroot -Tclean
|
||||||
|
DEB_BUILD_OPTIONS=nocheck dpkg-buildpackage -rfakeroot -us -uc -b
|
||||||
|
|
||||||
|
popd || return
|
||||||
|
|
||||||
|
# dpkg -i result/*.deb
|
||||||
|
dpkg -i "${BUILD_HOME}/result/python3-${PROJECT}_${VERSION#v}-1_all.deb"
|
||||||
|
|
||||||
|
apt-get -f install
|
||||||
|
|
||||||
|
echo ""
|
||||||
|
echo "RSS feed: ${RSS_FEED}"
|
||||||
|
|
@ -0,0 +1,55 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
USER=adamjakab
|
||||||
|
PROJECT=beetspluginxtractor
|
||||||
|
|
||||||
|
git_url="https://github.com/${USER}/${PROJECT}.git"
|
||||||
|
|
||||||
|
VERSION=$(curl "https://api.github.com/repos/${USER}/${PROJECT}/tags?per_page=5" | jq -r '.[0] | .name')
|
||||||
|
|
||||||
|
RSS_FEED="https://github.com/${USER}/${PROJECT}/releases.atom"
|
||||||
|
# xdg-open ${RSS_FEED}
|
||||||
|
echo ${RSS_FEED}
|
||||||
|
|
||||||
|
# the dependencies for the python package
|
||||||
|
# sudo apt-get install python3-tifffile python3-sklearn
|
||||||
|
# sudo apt-get -f install
|
||||||
|
|
||||||
|
# the dependencies for py2dsp
|
||||||
|
apt install -y pristine-tar pypi2deb
|
||||||
|
|
||||||
|
# if the build fails with 'unrecognized build system: pybuild' add
|
||||||
|
# export PYBUILD_SYSTEM=distutils
|
||||||
|
# to the debian/rules file.
|
||||||
|
|
||||||
|
BUILD_HOME="/var/tmp/build_${PROJECT}-${VERSION#v}"
|
||||||
|
|
||||||
|
mkdir -p "${BUILD_HOME}"
|
||||||
|
pushd "${BUILD_HOME}" || exit
|
||||||
|
py2dsp --profile dpt --distribution unstable --revision 1 --github "${git_url}"
|
||||||
|
# strace -o /tmp/strace_output.txt py2dsp --profile dpt --distribution unstable --revision 1 --github "${git_url}"
|
||||||
|
|
||||||
|
pushd "${BUILD_HOME}/result/${PROJECT}-${VERSION#v}" || exit
|
||||||
|
mkdir -p debian
|
||||||
|
cat <<EOF | sudo tee "debian/rules"
|
||||||
|
#!/usr/bin/make -f
|
||||||
|
|
||||||
|
#export DH_VERBOSE=1
|
||||||
|
export PYBUILD_NAME=${PROJECT}
|
||||||
|
export PIPX_BIN_DIR=/usr/bin
|
||||||
|
export PIPX_HOME=/usr/share/pipx
|
||||||
|
|
||||||
|
%:
|
||||||
|
dh \$@ --with python3 --buildsystem=pybuild
|
||||||
|
EOF
|
||||||
|
# dpkg-buildpackage -rfakeroot -uc -b
|
||||||
|
DEB_BUILD_OPTIONS=nocheck dpkg-buildpackage -rfakeroot -Tclean
|
||||||
|
DEB_BUILD_OPTIONS=nocheck dpkg-buildpackage -rfakeroot -us -uc -b
|
||||||
|
EOF
|
||||||
|
popd || return
|
||||||
|
popd || return
|
||||||
|
|
||||||
|
# dpkg -i result/*.deb
|
||||||
|
dpkg -i "${BUILD_HOME}/result/python3-${PROJECT}_${VERSION#v}-1_all.deb"
|
||||||
|
|
||||||
|
apt-get -f install
|
||||||
Loading…
Reference in New Issue