Package Details: python-devassistant 0.11.x-1

Package Base: python-devassistant
Description: Helps with creating and setting up the development environment for projects in various languages.
Upstream URL: http://devassistant.org
Category: devel
Licenses: GPL2
Submitter: gfidente
Maintainer: gehasia
Last Packager: gehasia
Votes: 4
First Submitted: 2013-11-14 00:24
Last Updated: 2015-08-03 10:43

Latest Comments

Comment by gehasia

2015-06-02 16:04

Hi guys !

Sorry : being busy for few days !

gfidente is right for the naming convention for python-pygithub. His package is up to date to the latest stable release, and it should be sufficient for devassistant package.

I'll update the package with your changes to the latest version available (but keeping python-pygithub as the dependency) this week and see what i can do with icon cache (i'm using KDE, maybe i won't see the problem)

Comment by eadrom

2015-06-02 12:41

My mistake, another user uploaded python-pygithub. At some point gehasia took over maintainership. It was the original packager of python-pygithub that stated it was a duplicate of the -github version.

Comment by eadrom

2015-06-02 12:39

The reason I changed python-pygithub to python-github in my updated PKGBUIKLD is if you look at the comments on python-pygithub, the maintainer (same maintainer as this package) states that python-pygithub is a duplicate. The python-github package appears to be more recently updated, which makes sense if gehasia isn't maintaining python-pygithub.

There are valid arguments to be had regarding naming convention or if a package should build python2 and python3 versions in the same PKGBUILD or if the -github package should have been submitted at all since this one was created first. That said, I simply chose the package that provided the most recently updated code and appeared to still being maintained. I have no idea if that is correct; I haven't read anything on that in all the research I did prior to posting the updated PKGBUILD. This is my first time doing something like this, so I'll be the first one to accept a mistake on my part. :)

Comment by gfidente

2015-06-01 11:07

FWIW, I think python-github is the wrong name for the aur package and it shouldn't be used as a dependency for -devassistant, I have commented on [1]

I also don't like building both versions (python- and python2-) from single PKGBUILD, but this might be subjective.

1. https://aur.archlinux.org/pkgbase/python-github/

Comment by eadrom

2015-05-28 18:14

Hello! I have updated the PKGBUILD for the latest version of devassistant (11.1). I made a minor change in the dependencies to use python-github instead of python-pygithub so that dependency uses a version of the package that is more recently updated. I updated the sha256sum for the new version of source. I updated the icon section to match the new location upstream set for their icons.

The package builds on a development clone of my desktop. I would recommend some more testing to make sure nothing big changed between 10.2 and 11.1. I don't know if it's just MATE, but I had to refresh my icon cache in order for the icon to show up for the application. The following two commands did the trick very nicely.

$ update-desktop-database -q
$ gtk-update-icon-cache -q -t -f /usr/share/icons/hicolor

Here is the PKGBUILD: http://pastebin.com/c3AWVZ4d

Gehasia, if you like, I would be willing to help maintain this package.

Comment by gfidente

2014-12-22 11:15

hi, I have updated python-pygithub and disowned python-devassistant

thanks and good luck :)

Comment by gehasia

2014-12-19 20:28

Hi,

yes, if you prefer, i can maintain it. It's not a big nor complicated package so i could keep it up to date and working.

It's up to you, if you think you don't have enough time to maintain it, i can take it. In this case it will be maybe preferable that i maintain the python-pygithub package, which is linked, too. As you prefer !

Comment by gfidente

2014-12-18 11:16

hi gehasia,

do you feel like you could take over the maintenance of the package?

Comment by gehasia

2014-12-16 21:17

Hi gfidente.

I added the python-dapp package in AUR, so it's possible to upgrade the devassistant package to last branch aka 0.10.1 (there is a dependency on it).

You have to add the python-requests to dependencies too.

Here is a working PKGBUILD (with .desktop and icons set correctly):

# Maintainer: Giulio Fidente <gfidente at gmail dot com>
# Contributor: Guillaume Chanaud <gehasia at gmail dot com>

pkgname=python-devassistant
pkgver=0.10.1
pkgrel=1
pkgdesc="Helps with creating and setting up the development environment for projects in various languages."
arch=('any')
url="http://devassistant.org"
license=('GPL2')
depends=('python-pygithub' 'python-gobject' 'python-setuptools' 'python-jinja' 'python-progress' 'python-six' 'python-yaml' 'python-requests' 'python-dapp')
makedepends=('desktop-file-utils' 'python-setuptools' 'python-jinja' 'python-progress' 'python-six' 'python-yaml')
source=(https://github.com/devassistant/devassistant/archive/v$pkgver.tar.gz)
md5sums=('50ee6e8bc252d9244df5bfeaf8f8b6ca')

package() {
cd $srcdir/devassistant-$pkgver
python setup.py install --prefix=/usr --root=$pkgdir
mkdir -p $pkgdir/usr/share/applications
cp $srcdir/devassistant-$pkgver/devassistant.desktop $pkgdir/usr/share/applications/
size=( "16x16" "22x22" "24x24" "32x32" "48x48" "256x256" )
for i in "${size[@]}"
do
mkdir -p $pkgdir/usr/share/icons/hicolor/$i/apps
cp -a $srcdir/devassistant-$pkgver/icons/hicolor/$i/devassistant.png $pkgdir/usr/share/icons/hicolor/$i/apps/
mkdir -p $pkgdir/usr/share/icons/HighContrast/$i/apps
cp -a $srcdir/devassistant-$pkgver/icons/HighContrast/$i/devassistant.png $pkgdir/usr/share/icons/HighContrast/$i/apps/
done
}

Comment by gfidente

2014-11-06 10:22

hi axil42, tanks for pointing that out and linking the fedora's spec, working on it right now

All comments