Skip to content

Commit

Permalink
Version bump: v0.2.5. PyPI: update setup.py metadata. Debian: added -…
Browse files Browse the repository at this point in the history
…-yes option for debmake
  • Loading branch information
kbumsik committed Aug 22, 2018
1 parent facb96c commit f62fa66
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 12 deletions.
16 changes: 12 additions & 4 deletions package/archlinux/PKGBUILD
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
# Maintainer: Bumsik Kim <[email protected]>
_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'
)
Expand All @@ -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"
Expand Down
4 changes: 2 additions & 2 deletions package/debian/build.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash

PKGVER=0.2.4
PKGVER=0.2.5
# Required for debmake
DEBEMAIL="[email protected]"
DEBFULLNAME="Bumsik Kim"
Expand All @@ -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
Expand Down
7 changes: 3 additions & 4 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
# 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:
Expand Down Expand Up @@ -107,17 +107,16 @@
# 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',
'Environment :: X11 Applications :: Qt',
'Operating System :: POSIX :: Linux',

# Framework used
'Framework :: Twisted',
# 'Framework :: AsyncIO',
'Framework :: AsyncIO',
],

# This field adds keywords for your project which will appear on the
Expand Down
2 changes: 1 addition & 1 deletion virtscreen/assets/config.default.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "0.2.4",
"version": "0.2.5",
"x11vncVersion": "0.9.15",
"theme_color": 8,
"virt": {
Expand Down
2 changes: 1 addition & 1 deletion virtscreen/assets/data.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "0.2.4",
"version": "0.2.5",
"x11vncOptions": {
"-ncache": {
"value": "-ncache",
Expand Down

0 comments on commit f62fa66

Please sign in to comment.