[oe-commits] [openembedded-core] 33/63: lib/oe/package.py: remove @ from package name

git at git.openembedded.org git at git.openembedded.org
Sat Mar 4 10:46:35 UTC 2017


This is an automated email from the git hooks/post-receive script.

rpurdie pushed a commit to branch master-next
in repository openembedded-core.

commit 3c4291bc58bcc5c66ef539eed29b7c37ac968a06
Author: Anders Darander <anders at chargestorm.se>
AuthorDate: Wed Mar 1 18:19:57 2017 +0100

    lib/oe/package.py: remove @ from package name
    
    @ isn't allowed in package names. Angular2 packages often have
    @ in their names.
    
    Signed-off-by: Anders Darander <anders at chargestorm.se>
    Signed-off-by: Ross Burton <ross.burton at intel.com>
---
 meta/lib/oe/package.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/meta/lib/oe/package.py b/meta/lib/oe/package.py
index 7953895..0ca41aa 100644
--- a/meta/lib/oe/package.py
+++ b/meta/lib/oe/package.py
@@ -150,6 +150,7 @@ def npm_split_package_dirs(pkgdir):
                         continue
                     pkgitems.append(pathitem)
                 pkgname = '-'.join(pkgitems).replace('_', '-')
+                pkgname = pkgname.replace('@', '')
                 pkgfile = os.path.join(root, dn, 'package.json')
                 data = None
                 if os.path.exists(pkgfile):

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list