Sisyphus repository
Last update: 17 october 2019 | SRPMs: 17500 | Visits: 15287730
en ru br
ALT Linux repos
5.0: 3.11.0-alt1
4.1: 164-alt1.1
4.0: 164-alt1
3.0: 3.10.13-alt1

Other repositories

Group :: Development/Python
RPM: drpython

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Name: drpython
Version: 3.11.4
Release: alt1
Epoch: 1

Summary: Python editor and development environment
Summary(ru_RU.UTF-8): Среда разработки и редактор для языка Python

License: GPL
Group: Development/Python

# Source-url:

Source: %name-%version.tar
Source1: %name.desktop

Packager: Vitaly Lipatov <lav at>

BuildArch: noarch

BuildPreReq: python-devel
# Automatically added by buildreq on Sat Oct 12 2013
# optimized out: fontconfig libgdk-pixbuf libwayland-client libwayland-server python-base python-devel python-module-distribute python-module-zope python-modules python-modules-compiler python-modules-email python3-base
BuildRequires: python-module-cmd2 python-module-wx3.0

BuildRequires: ImageMagick, rpm-build-intro
BuildRequires: desktop-file-utils

Requires: webclient

DrPython is a highly customizable, simple, and clean editing environment for
developing Python programs. It is intended primarily for use in schools, and
is a tribute to DrScheme.

%description -l ru_RU.UTF-8
DrPython -- это хорошо настраиваемая простая среда для разработки программ
на Python, первоначально предназначенная для использования в школах.
Сделан он по подобию DrScheme.



chmod 644

# Fix default paths to docs

#sed -i "s/mozilla/"
#sed -i "s||%_docdir/python-doc-2.4.2/index.html|"
#sed -i "s||%_docdir/wxGTK2-doc-2.6.2|"

# Change Windows line endings to Unix line endings

for file in $(find *.txt *.TXT -type f); do
 sed -i 's/\r//' $file

# Remove Windows related files and patch the file so it doesn't rely on the file

rm -rf tools/
rm -f setup.cfg


mkdir -p %buildroot%_bindir/
mkdir -p %buildroot%_datadir/%name/
#mkdir -p %buildroot%_datadir/%name/documentation
cp *.py* %buildroot%_datadir/%name/
cp -r examples bitmaps %buildroot%_datadir/%name/

echo '#!/bin/bash' > %buildroot%_bindir/%name
echo 'python %_datadir/%name/' >> %buildroot%_bindir/%name
chmod 755 %buildroot%_bindir/%name

install -D -m644 %SOURCE1 %buildroot%_desktopdir/%name.desktop


mkdir -p %buildroot%_liconsdir
convert -size 16x16 bitmaps/%name.png %buildroot%_liconsdir/%name.png
mkdir -p %buildroot%_niconsdir
convert -size 32x32 bitmaps/%name.png %buildroot%_niconsdir/%name.png
mkdir -p %buildroot%_miconsdir
convert -size 48x48 bitmaps/%name.png %buildroot%_miconsdir/%name.png

#rm -rf %buildroot%_datadir/drpython/bitmaps/24/.xvpics

desktop-file-install --dir %buildroot%_desktopdir \
--add-category=IDE \

%doc examples/ *.txt


Full changelog you can see here

design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin