Re: [Fedora Robotics] nxt_python 2.1.0 update -- comaintainership?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Mar 9, 2011 at 12:58 PM, Martin Langhoff <martin@xxxxxxxxxx> wrote:
> I have an updated spec and rpms for on Markus' latest release (2.1.0).
> Are you ok with me as co-maintainer? Interested in reviewing the
> proposed changes?

RPM, SRPM at
http://dev.laptop.org/~martin/public_rpms/?C=M;O=D

Spec and build patch attached for review.

BTW, *big thanks* to Marcus for cleaning up the issues spotted in the
2.0.1 release. Tidy upstream == happy downstream!



m
-- 
 martin@xxxxxxxxxx -- Software Architect - OLPC
 - ask interesting questions
 - don't get distracted with shiny stuff  - working code first
 - http://wiki.laptop.org/go/User:Martinlanghoff
%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}


Name:		nxt_python
Version:	2.1.0
Release:	1%{?dist}
Summary:	Control LEGO Mindstorms NXT robots using python

Group:		Applications/Engineering
License:	GPLv3
URL:		http://code.google.com/p/nxt-python/
# The zipfile from google code is the official release.
# Tarballs appear on pypi.python.org but don't get much review.
Source0:   	http://nxt-python.googlecode.com/files/nxt-python-%{version}.tar.gz
Patch0:	        build.patch
BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch:	noarch

BuildRequires:	python-devel, dos2unix
Requires:	pybluez, pyusb, pygtk2
Requires:       robots-udevrules

%description
nxt_python is a python package for controlling a LEGO NXT robot using the 
python programming language.  It can communicate using either USB or Bluetooth. 

%prep
%setup -q -n nxt-python-%{version}
dos2unix PKG-INFO LICENSE MANIFEST.in README
%patch0 -p1 -b .build

%build
python setup.py build

%install
rm -rf %{buildroot}
python setup.py install --root=%{buildroot}

%clean
rm -rf %{buildroot}

%files
%defattr(-,root,root,-)
%doc LICENSE README examples
%{_bindir}/*
%{python_sitelib}/*

%changelog
* Wed Mar  9 2011 Martin Langhoff <martin@xxxxxxxxxxxxxxxxxxx> - 2.1.0-1
- Update to NXT-Python 2.1.0, new upstream
- Upstream tidy up means our build patch is minimal now - thanks!
- Upstream now releases a good tarballs -- we use it
- dos2unix over docs
- changed to depend on robots-udevrules to coexist with nbc
- note: robots-udevrules uses 'robots' group instead of 'lego'

* Mon Jan 31 2011 Martin Langhoff <martin@xxxxxxxxxxxxxxxxxxx> - 2.0.1-1
- Update to NXT-Python 2.0.1, new upstream
- zipfile is upstreams' official release file
- Update build patch - it's now in the git repo
- Edit summary to avoid repeat of pkg name.
- License has changed to GPLv3, is now in LICENSE
- Not all info files say GPLv3, confirmed with upstream, patch so that
  various info files consistently say GPLv3
- Fixup PKG-INFO line endings
- Include code examples

* Wed Jul 21 2010 David Malcolm <dmalcolm@xxxxxxxxxx> - 0.7-7
- Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild

* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@xxxxxxxxxxxxxxxxxxxxxxx> - 0.7-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild

* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@xxxxxxxxxxxxxxxxxxxxxxx> - 0.7-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild

* Sat Nov 29 2008 Ignacio Vazquez-Abrams <ivazqueznet+rpm@xxxxxxxxx> - 0.7-4
- Rebuild for Python 2.6

* Thu Aug 07 2008 John McLean <jesusfreak91@xxxxxxxxx> - 0.7-3
-added pygtk2 Requires
-in patch0, COPYING is no longer changed to LICENSE
-added %%name and %%version macros to SourceURL
-remove (noreplace) from %%config macro

* Wed Jul 30 2008 John McLean <jesusfreak91@xxxxxxxxx> - 0.7-2
-removed python from BuildRequires
-changed source0
-included a patch for setup.py and the inclusion of a LICENSE
-removed %%post and %%postun
-included %%pre

*Sat Jul 05 2008 John McLean <jesusfreak91@xxxxxxxxx> - 0.7-1
-Initial spec
diff -uNr a/setup.py b/setup.py
--- a/setup.py	2010-10-26 13:56:22.000000000 -0700
+++ b/setup.py	2011-01-31 11:04:21.534997604 -0700
@@ -10,7 +10,7 @@
     ldesc = ""
 
 setup(
-    name='nxt-python',
+    name='nxt_python',
     version='2.1.0',
     author='Marcus Wanner',
     author_email='marcusw@xxxxxxx',
_______________________________________________
robotics mailing list
robotics@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/robotics

[Index of Archives]     [Fedora Users]     [Fedora Electronics Lab]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Summer Coding]

  Powered by Linux