Community maintained packages for difos.
Find a file
Alexandru Ardelean a5b9cc6a24 micropython-lib: workaround the install build rule
So, I chose to workaround it in the Makefile.
A proper fix is a bit more work that I would like to do now,
and I have no suggestion/idea for a good fix right now.

The problem is with the `CMD` part that's used in the install rule,
together with the fact that PREFIX is the same as the source location.

```
CMD="find . -maxdepth 1 -mindepth 1 \( -name '*.py' -not -name 'test_*' -not -name 'setup.py' \) -or \( -type d -not -name 'dist' -not -name '*.egg-info' -not -name '__pycache__' \)| xargs --no-run-if-empty cp -r -t $(PREFIX)"
```

The gist of it, is that it seems that this will filter
and copy to `PREFIX` all python sources and folders that
are not names `dist`, `__pycache__`, or `*.egg-info`.
And it searches all folders at (exactly) depth 1.

The solution I chose is to put a `dist` folder under
`_install_tmp`, which is kind of a trick to go
to depth 2 and avoid both conditions in the `find` call.

This avoids errors:
```
cp: './weakref.py' and '/home/sandu/work/lede/build_dir/target-mips_24kc_musl-1.1.16/micropython-lib-1.8.6-f81e979c56dddb771ad36ec381b7f2c6cd12111f-f81e979c56dddb771ad36ec381b7f2c6cd12111f/_install_tmp/weakref.py' are the same file
cp: './xmltok.py' and '/home/sandu/work/lede/build_dir/target-mips_24kc_musl-1.1.16/micropython-lib-1.8.6-f81e979c56dddb771ad36ec381b7f2c6cd12111f-f81e979c56dddb771ad36ec381b7f2c6cd12111f/_install_tmp/xmltok.py' are the same file
cp: './zipfile.py' and '/home/sandu/work/lede/build_dir/target-mips_24kc_musl-1.1.16/micropython-lib-1.8.6-f81e979c56dddb771ad36ec381b7f2c6cd12111f-f81e979c56dddb771ad36ec381b7f2c6cd12111f/_install_tmp/zipfile.py' are the same file
```

Initially I tried to add exit 0, but that would
just hide other (potentially worse) issues.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2017-01-17 15:23:19 +02:00
.github Add an issue template 2016-08-25 20:32:50 +08:00
admin Merge pull request #3813 from NeoRaider/hostpkg 2017-01-11 21:54:09 +01:00
devel Merge pull request #3280 from diizzyy/patch-15 2016-11-29 20:20:44 +02:00
ipv6 all: get rid of kmod-ipv6 dependencies 2015-10-06 09:04:29 +02:00
kernel kernel/exfat-nofuse: Update to snapshot 2017-01-03 2017-01-06 20:50:20 +01:00
lang micropython-lib: workaround the install build rule 2017-01-17 15:23:19 +02:00
libs alsa-lib: update to 1.1.3 2017-01-16 21:54:11 +01:00
mail Merge pull request #3628 from fededim/emailrelayfix 2016-12-07 17:00:20 +02:00
multimedia icecast: Rework dependencies 2017-01-14 18:04:04 -05:00
net Merge pull request #3857 from diizzyy/patch-28 2017-01-16 19:07:53 -05:00
sound sound/shine: Fix compilation with ffmpeg and minor fixes 2017-01-16 13:34:01 +01:00
utils nano: Update to version 2.7.4 2017-01-15 14:45:38 -06:00
CONTRIBUTING.md CONTRIBUTING.md: Add advice about pull requests 2015-11-20 16:32:52 +02:00
LICENSE Add GPLv2 pro-forma license 2014-06-16 08:14:04 +02:00
README.md Fixed broken link in README.md 2015-07-10 13:51:22 -05:00

OpenWrt packages feed

Description

This is the OpenWrt "packages"-feed containing community-maintained build scripts, options and patches for applications, modules and libraries used within OpenWrt.

Installation of pre-built packages is handled directly by the opkg utility within your running OpenWrt system or by using the OpenWrt SDK on a build system.

Usage

This repository is intended to be layered on-top of an OpenWrt buildroot. If you do not have an OpenWrt buildroot installed, see the documentation at: OpenWrt Buildroot Installation on the OpenWrt support site.

This feed is enabled by default. To install all its package definitions, run:

./scripts/feeds update packages
./scripts/feeds install -a -p packages

License

See LICENSE file.

Package Guidelines

See CONTRIBUTING.md file.