Take a look at the page on [https://trisquel.info/en/wiki/package-helpers
package-helpers]. You can also view a list of currently written ones
[http://bzr.trisquel.info/package-helpers/trunk/files/head:/helpers/oneiric/
here on the bazaar page]. These are little scripts (usually awk and sed)
which modify the packages we get from Ubuntu. A lot of time they may remove
a string that recommends non-free software or sometimes a package may refer
to the OS as Ubuntu and that needs to be fixed.
As far as python goes I asked specifically about perl and got this response
"(10:30:58 AM) quidam: SirGrant: you could embed perl or python scripts in a
helper, but just bash and some sed/awk should suffice".
If you want to take a look at some bugs which should be on the tamer side I
would look at these two pages: [https://trisquel.info/en/issues/5311 List of
bugs that threaten Free System Status]. These are critical bugs in which a
package may have slipped through but tells the user to use non-free software.
Fixing these is really important. The other is
[https://trisquel.info/en/issues/5052 Comprehensive Trisquel Branding Issue
Page]. These issues are not quite as important but should be pretty easy to
fix. Mostly they appear when as mentioned above the ubuntu/debian logo
appears in a program or string. Usually the fix involves just changing the
string or something like that.