Commit b4fba31c authored by Luke Macken's avatar Luke Macken

Prep for 2.0

parent 49184919
# Maintainer: Nathaniel Case <qalthos@gmail.com>
pkgname=python2-pyrasite
pkgver=2.0beta4
pkgrel=4
pkgdesc="Code injection and introspection of running Python processes"
arch=('i686' 'x86_64')
url="http://pyrasite.com"
license=('GPL3')
depends=('python2' 'gdb' 'python2-meliae' 'python2-sphinx' 'python2-psutil' 'libwebkit3' 'python2-pycallgraph' 'python2-gobject')
source=(http://pypi.python.org/packages/source/p/pyrasite/pyrasite-$pkgver.tar.gz)
md5sums=('218d05f509fee9d9111256f6146be3ae')
build() {
cd $startdir/src/pyrasite-$pkgver
python2 ./setup.py install --root=$pkgdir
sed -i -e 's,^#!/usr/bin.*,#!/usr/bin/env python2,' $pkgdir/usr/bin/*
}
# vim:set ts=2 sw=2 et:
%global betaver beta6
Name: pyrasite Name: pyrasite
Version: 2.0 Version: 2.0
Release: 0.1.%{betaver}%{?dist} Release: 1%{?dist}
Summary: Code injection and monitoring of running Python processes Summary: Code injection and monitoring of running Python processes
Group: Development/Languages Group: Development/Languages
License: GPLv3 License: GPLv3
URL: http://pyrasite.com URL: http://pyrasite.com
Source0: http://pypi.python.org/packages/source/p/%{name}/%{name}-%{version}%{betaver}.tar.gz Source0: http://pypi.python.org/packages/source/p/%{name}/%{name}-%{version}.tar.gz
BuildArch: noarch BuildArch: noarch
BuildRequires: python-devel BuildRequires: python-devel
...@@ -23,7 +21,7 @@ It is comprised of a command-line tool, and a Python API. This package ...@@ -23,7 +21,7 @@ It is comprised of a command-line tool, and a Python API. This package
also comes with a variety of example payloads. also comes with a variety of example payloads.
%prep %prep
%setup -q -n %{name}-%{version}%{betaver} %setup -q
%build %build
%{__python} setup.py build %{__python} setup.py build
......
...@@ -3,7 +3,7 @@ from .inspect import ObjectInspector ...@@ -3,7 +3,7 @@ from .inspect import ObjectInspector
from .ipc import PyrasiteIPC from .ipc import PyrasiteIPC
from .reverse import ReverseConnection, ReversePythonConnection from .reverse import ReverseConnection, ReversePythonConnection
__version__ = '2.0beta6' __version__ = '2.0'
__all__ = ('CodeInjector', 'ObjectInspector', 'PyrasiteIPC', __all__ = ('CodeInjector', 'ObjectInspector', 'PyrasiteIPC',
'ReverseConnection', 'ReversePythonConnection') 'ReverseConnection', 'ReversePythonConnection')
__license__ = """\ __license__ = """\
......
from setuptools import setup, find_packages from setuptools import setup, find_packages
version = '2.0beta6' version = '2.0'
f = open('README.rst') f = open('README.rst')
long_description = f.read().split('split here')[1] long_description = f.read().split('split here')[1]
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment