1
0
Fork 0
mirror of https://github.com/kbumsik/VirtScreen.git synced 2025-02-12 11:21:53 +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>
_pkgname_camelcase=VirtScreen
pkgname=virtscreen
pkgver=0.2.4
pkgver=0.2.5
pkgrel=1
pkgdesc="Make your iPad/tablet/computer as a secondary monitor on Linux"
arch=("i686" "x86_64")
url="https://github.com/kbumsik/VirtScreen"
license=('GPL')
groups=()
depends=('xorg-xrandr' 'x11vnc' 'python-pyqt5' 'python-quamash-git' 'python-netifaces')
makedepends=('python-pip')
depends=('xorg-xrandr' 'x11vnc' 'python-pyqt5' 'qt5-quickcontrols2' 'python-quamash-git' 'python-netifaces')
makedepends=('python-pip' 'perl')
optdepends=(
'arandr: for display settings option'
)
@ -24,9 +24,17 @@ source=(src::git+https://github.com/kbumsik/$_pkgname_camelcase.git#tag=$pkgver)
noextract=()
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() {
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
# install -Dm644 "data/$pkgname.desktop" "$pkgdir/usr/share/applications/$pkgname.desktop"
# install -Dm644 "data/icon.png" "$pkgdir/usr/share/pixmaps/$pkgname.png"

View file

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

View file

@ -40,7 +40,7 @@ setup(
# For a discussion on single-sourcing the version across setup.py and the
# project code, see
# 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
# corresponds to the "Summary" metadata field:
@ -107,8 +107,8 @@ setup(
# Specify the Python versions you support here. In particular, ensure
# that you indicate whether you support Python 2, Python 3 or both.
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
# Environment
'Environment :: X11 Applications',
@ -116,8 +116,7 @@ setup(
'Operating System :: POSIX :: Linux',
# Framework used
'Framework :: Twisted',
# 'Framework :: AsyncIO',
'Framework :: AsyncIO',
],
# 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",
"theme_color": 8,
"virt": {

View file

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