1
0
Fork 0
mirror of https://github.com/kbumsik/VirtScreen.git synced 2025-03-09 15:40:18 +00:00

Version bump: v0.2.5. PyPI: update setup.py metadata. Debian: added --yes option for debmake

This commit is contained in:
Bumsik Kim 2018-08-22 14:07:25 -04:00
parent facb96ca19
commit f62fa66f51
No known key found for this signature in database
GPG key ID: E31041C8EC5B01C6
5 changed files with 19 additions and 12 deletions

View file

@ -1,15 +1,15 @@
# Maintainer: Bumsik Kim <k.bumsik@gmail.com> # Maintainer: Bumsik Kim <k.bumsik@gmail.com>
_pkgname_camelcase=VirtScreen _pkgname_camelcase=VirtScreen
pkgname=virtscreen pkgname=virtscreen
pkgver=0.2.4 pkgver=0.2.5
pkgrel=1 pkgrel=1
pkgdesc="Make your iPad/tablet/computer as a secondary monitor on Linux" pkgdesc="Make your iPad/tablet/computer as a secondary monitor on Linux"
arch=("i686" "x86_64") arch=("i686" "x86_64")
url="https://github.com/kbumsik/VirtScreen" url="https://github.com/kbumsik/VirtScreen"
license=('GPL') license=('GPL')
groups=() groups=()
depends=('xorg-xrandr' 'x11vnc' 'python-pyqt5' 'python-quamash-git' 'python-netifaces') depends=('xorg-xrandr' 'x11vnc' 'python-pyqt5' 'qt5-quickcontrols2' 'python-quamash-git' 'python-netifaces')
makedepends=('python-pip') makedepends=('python-pip' 'perl')
optdepends=( optdepends=(
'arandr: for display settings option' 'arandr: for display settings option'
) )
@ -24,9 +24,17 @@ source=(src::git+https://github.com/kbumsik/$_pkgname_camelcase.git#tag=$pkgver)
noextract=() noextract=()
md5sums=('SKIP') md5sums=('SKIP')
prepare() {
cd $srcdir/src
# Delete PyQt5 from install_requires because python-pyqt5 does not have PyPI metadata.
# See https://bugs.archlinux.org/task/58887
perl -pi -e "s/\'PyQt5>=\d+\.\d+\.\d+\',//" \
setup.py
}
package() { package() {
cd $srcdir/src cd $srcdir/src
PIP_CONFIG_FILE=/dev/null /usr/bin/pip install --isolated --root="$pkgdir" --ignore-installed --no-deps . PIP_CONFIG_FILE=/dev/null /usr/bin/pip install --isolated --root="$pkgdir" --ignore-installed --ignore-requires-python --no-deps .
# These are already installed by setup.py # These are already installed by setup.py
# install -Dm644 "data/$pkgname.desktop" "$pkgdir/usr/share/applications/$pkgname.desktop" # install -Dm644 "data/$pkgname.desktop" "$pkgdir/usr/share/applications/$pkgname.desktop"
# install -Dm644 "data/icon.png" "$pkgdir/usr/share/pixmaps/$pkgname.png" # install -Dm644 "data/icon.png" "$pkgdir/usr/share/pixmaps/$pkgname.png"

View file

@ -1,6 +1,6 @@
#!/bin/bash #!/bin/bash
PKGVER=0.2.4 PKGVER=0.2.5
# Required for debmake # Required for debmake
DEBEMAIL="k.bumsik@gmail.com" DEBEMAIL="k.bumsik@gmail.com"
DEBFULLNAME="Bumsik Kim" DEBFULLNAME="Bumsik Kim"
@ -18,7 +18,7 @@ mv $PKGVER.tar.gz virtscreen-$PKGVER.tar.gz
cp $ROOT/package/debian/Makefile \ cp $ROOT/package/debian/Makefile \
$ROOT/package/debian/virtscreen-$PKGVER/Makefile $ROOT/package/debian/virtscreen-$PKGVER/Makefile
cd $ROOT/package/debian/virtscreen-$PKGVER cd $ROOT/package/debian/virtscreen-$PKGVER
debmake -b':sh' debmake --yes -b':sh'
# copy files to build # copy files to build
# debmake files # debmake files

View file

@ -40,7 +40,7 @@ setup(
# For a discussion on single-sourcing the version across setup.py and the # For a discussion on single-sourcing the version across setup.py and the
# project code, see # project code, see
# https://packaging.python.org/en/latest/single_source_version.html # https://packaging.python.org/en/latest/single_source_version.html
version='0.2.4', # Required version='0.2.5', # Required
# This is a one-line description or tagline of what your project does. This # This is a one-line description or tagline of what your project does. This
# corresponds to the "Summary" metadata field: # corresponds to the "Summary" metadata field:
@ -107,8 +107,8 @@ setup(
# Specify the Python versions you support here. In particular, ensure # Specify the Python versions you support here. In particular, ensure
# that you indicate whether you support Python 2, Python 3 or both. # that you indicate whether you support Python 2, Python 3 or both.
'Programming Language :: Python :: 3', 'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
# Environment # Environment
'Environment :: X11 Applications', 'Environment :: X11 Applications',
@ -116,8 +116,7 @@ setup(
'Operating System :: POSIX :: Linux', 'Operating System :: POSIX :: Linux',
# Framework used # Framework used
'Framework :: Twisted', 'Framework :: AsyncIO',
# 'Framework :: AsyncIO',
], ],
# This field adds keywords for your project which will appear on the # This field adds keywords for your project which will appear on the

View file

@ -1,5 +1,5 @@
{ {
"version": "0.2.4", "version": "0.2.5",
"x11vncVersion": "0.9.15", "x11vncVersion": "0.9.15",
"theme_color": 8, "theme_color": 8,
"virt": { "virt": {

View file

@ -1,5 +1,5 @@
{ {
"version": "0.2.4", "version": "0.2.5",
"x11vncOptions": { "x11vncOptions": {
"-ncache": { "-ncache": {
"value": "-ncache", "value": "-ncache",